Does the package robot_localization need the position transform between sensors?
My robot has a IMU sensor and a GPS.Now I want to use the package robot_localization
.
How have I published the position transform?
For instance,I set the frame_id of IMU sensor to 'imu', set the frame_id of GPS to 'gps' and the robot's frame_id is 'base_link'.
So I publish the transform to the node /tf
:
For IMU sensor,frame_id
is 'base_link' and child_frame_id
is 'imu', x:... y:... z:...
For GPS,frame_id
is 'base_link' and child_frame_id
is 'gps', x:... y:... z:...
Am I right?Will the robot_localization package automatically acquire these transforms when doing merging?