Skip to content

Laser Scan frame-id has "/" #68

Open
@ADI201998

Description

@ADI201998

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions