GPS + IMU + encoders for robot localization
Hey guys,
I want to fuse gps data i am getting from my piksi multi RTK system, and an IMU, and wheel encoders.
The GPS driver ( http://wiki.ros.org/swiftnav_piksi ) publishes the following:
sensor_msgs::NavSatFix gps/fix; nav_msgs::Odometry gps/rtkfix
the frame_id in the headers of those messages is set to "gps". the child_frame_id in the nav_msgs::Odometry message is not set to anything.
The IMU driver publishes imu/data, with the frame_id being "imu".
I plan on also having wheel encoders spitting out odometry data. I know that for those, the odom message should have a frame_id of "odom", and a child_frame_id of "base_link".
I am confused about how to prepare the data for robot_localization, in terms of frame ids. In the GPS system, the reported gps/rtkfix is the position/velocity of the rover relative the the base station. What should i set the frame_id and child_frame_id to for the RTK GPS? And what should i set the IMU frame_id to be?
Thanks,