SICKAG / sick_scan_xd

Based on the sick_scan drivers for ROS1, sick_scan_xd merges sick_scan, sick_scan2 and sick_scan_base repositories. The driver supports both Linux (native, ROS1, ROS2) and Windows (native and ROS2).
Apache License 2.0
95 stars 85 forks source link

excuse me , how can i change the frame_id of the publish_frame_id ? #250

Closed grisrobotics closed 8 months ago

grisrobotics commented 8 months ago

I have met some question when i changed the frame_id of the publish_frameid . As the launch file show , default: "world" = "world_1" , but i dont want to the the after the "world" ,how can i delete the "" when publish the frame_id .For example ,when i def the publish_frame_id = scan_head , it will become scan_head_1 , but just want it to publish scan_head , how can i change it?

rostest commented 8 months ago

Thanks for your feedback. Laserscan messages contain the scan data of one single layer only. To keep the correct framing of the scan data, the layer_id is appended to the configured <publish_frame_id>.

If you need to modify this behaviour, you have the following options: