Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laser Scan frame-id has "/" #68

Open
ADI201998 opened this issue Nov 16, 2020 · 0 comments
Open

Laser Scan frame-id has "/" #68

ADI201998 opened this issue Nov 16, 2020 · 0 comments

Comments

@ADI201998
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant