tranqkhue / bugcar_archieved

Bugcar Workspace
1 stars 0 forks source link

robot_localization orientation does rotate randomly (or jump) #3

Closed tranqkhue closed 3 years ago

tranqkhue commented 4 years ago

The orientation should be consistent with the vehicle (for example, when the vehicle is rotating with a constant angular velocity or standing still). However, in some cases, the robot's tf generated by robot_localization does rotate randomly (or jump). How does this bug happen?

tranqkhue commented 4 years ago

First, try to run without robot_localization and detect any unexpected values from sensors (Odom, IMU, GPS). Make sure the values from sensors seem valid, like output orientation and position.

tranqkhue commented 4 years ago

Second, try to check rostopic info tf, as one tf, for example odom->base_link, may be published by more than ONE NODE! That inconsistent could create the conflicts lead to tf jumping!

tranqkhue commented 4 years ago

Also there is a bug in the covariance of sensors, in particular, BNO055, which has been corrected in https://github.com/tranqkhue/bugcar/commit/107958655677b3709454e2c094c82aa23fb08398

image Just a Probability and Statistics lessons throwback :smiley:

Just one more reason to think about Mathematics, more carefully :smiley: