turtlebot / turtlebot_simulator

Launchers for Gazebo simulation of the TurtleBot
http://www.ros.org/wiki/turtlebot_simulator
99 stars 136 forks source link

fixes tf warning: frame_ids cannot start with a / #78

Closed oscar-lima closed 4 years ago

oscar-lima commented 4 years ago

A couple of errors will appear constantly like:

Warning: Invalid argument "/camera_depth_frame" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like: 
         at line 134 in /tmp/binarydeb/ros-melodic-tf2-0.6.5/src/buffer_core.cpp
[ERROR] [/move_base]: TF Exception that should never happen for sensor frame: , cloud frame: /camera_depth_frame, Invalid argument "/camera_depth_frame" passed to lookupTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:

To fix this, we edited the file turtlebot_world.launch of the pkg turtlebot_gazebo accordingly