Hi.
I made some change in Azurit 1.06 and the Perimeter tracking can be ubgrade and now work smoother for me whith the Odometry NO or YES.
One of the modif that can help you is adding the 2 last line the mower use PWM instead of RPM and stop to Roll at high speed to reach the perimeter
Pay attention that the tracking speed is set in
motor setting MaxPWM and you need to adjust the TransitionTimeout in the perimeter setting.
void Robot::checkPerimeterFind() {
if (stateCurr == STATE_PERI_FIND) {
if (perimeterInside) {
// inside
if (motorLeftSpeedRpmSet != motorRightSpeedRpmSet) {
// we just made an 'outside=>inside' rotation, now track
setNextState(STATE_PERI_TRACK, 0);
}
} else {
// we are outside, now roll to get inside
motorRightSpeedRpmSet = -motorSpeedMaxRpm / 1.5;
motorLeftSpeedRpmSet = motorSpeedMaxRpm / 1.5;
if (stateCurr != STATE_PERI_TRACK) {
setMotorPWM( motorSpeedMaxPwm / 2, 0, false);
}
//{
I don't know where to post the rest of the change i made in Azurit and don't know also how to post a video.
As i see you have post one ??
By.