ar-tu-do icon indicating copy to clipboard operation
ar-tu-do copied to clipboard

Check if odomentry is calculated correctly in the simulation while decelerating

Open marian42 opened this issue 6 years ago • 1 comments

cc @harunteper

marian42 avatar Jul 08 '19 10:07 marian42

At the moment, the VESC simulator calculates odometry purely with messages sent to "/commands/motor/speed". Therefore, if the car is driving and is then sent a command to stop (setting speed to 0), the vesc sim thinks that the car has stopped instantly while the actual car is still rolling. By the way, the real vesc package calculates odometry with the real motor speed it gets from the motor controller. That motor speed is directly linked to the speed of the tires; therefore I think it would be a good idea and not a hack to get our simulated odometry from the speed of the (simulated) tires.

Nils-Jung avatar Jul 14 '19 21:07 Nils-Jung