Laser Scan frame-id has "/"
ADI201998 opened this issue · 0 comments
Hello,
I'm using stage_ros with a custom world and two robots in it, and I'm running teb_local_planner independently with it. But I'm getting an error with TEB:
Warning: Invalid argument "/robot_0/base_laser_link" 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] [1605531757.746241659, 14.400000000]: TF Exception that should never happen for sensor frame: , cloud frame: /robot_0/base_laser_link, Invalid argument "/robot_0/base_laser_link" passed to lookupTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:
On doing rostopic echo -n 1 /robot_0/base_scan/header
, this was the output:
seq: 313 stamp: secs: 31 nsecs: 400000000 frame_id: "/robot_0/base_laser_link"
The "/" in the frame_id seems to be giving the error. I was wondering if there was any method to remove the "/".
Thanks