Hi.
I use Google translate to view your post and hope i understand the main.
Sorry maybe it's help Stephan and not you.
I have a DENNA Platform and need a lot of test to make azurit work great with odometry.
For me whit the
motor,The main problem is to adjust perfectly maxpwm maxrpm PID in the
motor setting because all the PIDcompute work well with the
motor of maratronics shop.
when PWM=255 RPM=30 and speed near 0.4m/s but if with your
motor when PWM=255 the RPM=50 and speed 0.8m/s all is not good
For that with Pfod you need for example to put the mower in manual and forward and verify in
motor setting that the real RPM is the value you have set and note that the PWM is a value near under that the setting you have put.
If the value are not adapt (PWM and RPM) you have problem because in Auto mode the mower use RPM to go forward and PWM when Roll or PeriRev so maybe it have a good speed in forward and very fast in Roll so all the Timeout are false.
For me the DENNA value are MAXRPM=27 MAXPWM=160 P=1 I=0.4 D=0 and the Auto Mode work very well.
I also need to make a lot of change in perimeter tracking code due to this problem and the big distance between the perimeter coil and the Wheel of the DENNA chassis.
For the interrupt i agree that nobody can explain what the twowayodometry can help the mower ????
but i try to make change in the code and use the Odometryleft2 to double the ticks count and make some test.
The
arduino mega can work perfectly with 720 ticks and twowayodometryuse or 1440 ticks without the twowayodometryuse.
In fact Be very carrefull with IMU and Mega the loops per second if very low if you use the IMU.
Hope you can understand me.
Thanks.