oaklandrobotics / ros_ora24

1 stars 2 forks source link

Converted GNSS EKF example to ROS 2 and made it helpful for IGVC #8

Closed robustify closed 5 months ago

robustify commented 5 months ago

I tested this with a bag I had on my filesystem with sensor_msgs/NavSatFix messages in it. Unfortunately, I don't have TwistStamped messages in that bag. The filter worked fine even with just the GPS inputs, but the fix messages are from one of our high-end GNSS/INS units at work and come in at 100 Hz.

However, I think it should work fine when you publish a geometry_msgs/TwistStamped topic derived from the wheel encoders.

I added the TF transforms for both map -> odom and from odom -> base_link. The EKF filters the position, speed, and yaw rate inputs, and also implicitly estimates the heading.