tranqkhue / bugcar_archieved

Bugcar Workspace
1 stars 0 forks source link

Error in transform when running robot_localization #1

Closed anhquanvgu closed 4 years ago

anhquanvgu commented 4 years ago

Screenshot from 2020-05-14 10-09-10

tranqkhue commented 4 years ago

This problem happens when the robot_localization package is initialized but does not have tf between odom and base_link frame. Screenshot from 2020-05-15 01-05-25 The reason is due to the package roboclaw, that controls the motor driver and outputs the odom from encoders, DOES not publish any odom when the vehicle stands still during bringup (which should be zero). Refer to https://github.com/tranqkhue/bugcar/commit/f46da875bbd2d972fe722954f3b4cb43b7d157ab