Hello,
I'm trying to use the robot_localization package for sensor fusion. I've got three sensors: IMU, odometry and GPS. I was first trying to work with the configuration I've found here:
I downloaded the files from here
Unfortunately if I execute the launch file I first got these errors:
[ WARN] [1484753899.869852461, 1440023596.548412649]: Could not obtain transform from /gps to base_footprint. Error was Invalid argument "/gps" passed to lookupTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:
As suggested from @tom-moore in an answer I changed the frame_id from /gps to gps
But just the error message changed:
[ WARN] [1484754315.316805588, 1440023620.550000278]: Could not obtain transform from gps to base_footprint. Error was "gps" passed to lookupTransform argument source_frame does not exist.
EDIT 1: I can reproduce the error on different computers. I was setting up ubuntu with a clean ros installation without any success. As a result I get the same errors.
EDIT 2: I've uploaded my current configuration here ( It contains the launch File and a sample of the recorded data)
It has three topics: imu/data, fix and odom the odom first received odom message is not at position (0,0) in the odom frame ( this was due to the fact that I was driving around with the robot first and I started recording after that)
Transformations: The GPS-antenna was mounted at the center of the robot, so I think the transformation should be alright..
I hope someone can help!
Originally posted by modotz on ROS Answers with karma: 11 on 2017-01-18
Post score: 1
Original comments
Comment by Thomas D on 2017-01-19:
Do you have a URDF or some other means of publishing the transform between the two frames? What is the output of rosrun tf tf_echo gps base_footprint
?
Comment by modotz on 2017-01-23:
thanks for this tip. the transform was missing