maxbki@orange_fr
New member
@stephan
You need to use "Odometry support for "1 way" encoder" that i have share in issue 7 if you have only one way encoder. That will fix your odometry problem. https://code.google.com/p/ardumower/issues/detail?id=7 You also need to use setMC33926 that i have share in issue 2 if you use MC33926. without this mod, the speed in reverse direction is not set correctly. https://code.google.com/p/ardumower/issues/detail?id=2
@alexander
Problems with motor control occur since r35.
For testMotors(), you need to use motorSpeedMaxPwm instead of motorSpeedMax. testMotors() directly use setMotorSpeed() to apply a PWM value. Using motorSpeedMax (value is in RPM) set the PWM to 33. this is why the motors don't turn and make noise.
motorControl() set PWM to 0 when stateCurr == STATE_OFF and odometryUse=1. This interferes with testMotors.
You need to use "Odometry support for "1 way" encoder" that i have share in issue 7 if you have only one way encoder. That will fix your odometry problem. https://code.google.com/p/ardumower/issues/detail?id=7 You also need to use setMC33926 that i have share in issue 2 if you use MC33926. without this mod, the speed in reverse direction is not set correctly. https://code.google.com/p/ardumower/issues/detail?id=2
@alexander
Problems with motor control occur since r35.
For testMotors(), you need to use motorSpeedMaxPwm instead of motorSpeedMax. testMotors() directly use setMotorSpeed() to apply a PWM value. Using motorSpeedMax (value is in RPM) set the PWM to 33. this is why the motors don't turn and make noise.
motorControl() set PWM to 0 when stateCurr == STATE_OFF and odometryUse=1. This interferes with testMotors.