ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Header in LaserScan message for SICK S300 Laser

asked 2020-02-11 07:04:03 -0500

fendrbud gravatar image

I'm trying to tune the localization system on my robot. I came over this tuning guide in which it is proposed that the header in the LaserScan message must be configured correctly (section 5.1). My question is where do I configure these parameters?

I've also tried to find someone who have implemented the ROS navigation stack on the Pioneer LX robot with the SICK S300 laser in order to get a starting for tuning the relevant parameters (primarily AMCL and move_base), however, I haven't found anything yet. Any help is therefore greatly appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-11 07:12:45 -0500

mgruhler gravatar image

The parameters for the sensor_msgs/Laserscan messages must be set in the respective LiDAR driver. This is not something that can be "tuned" for the navigation, but is rather something that is inherent to the LiDAR model and its configuration.

For the Sick S300, you can e.g. use the cob_sick_s300 package (there are others, obviously), which either reads most of the data from the provided data stream or is configured internally without any parameters that can be set from the outside (i.e. ROS). This wouldn't make any sense, for most, as those two have to fit together anyways.

You can obviously check if your LiDAR configuration matches the parameters, if this is not the case, you can adjust the respective driver from source. But this is not something you do somewhere in the Nav stack...

edit flag offensive delete link more


Ok, thanks. I will try to implement the cob_sick_s300 package. Until now I have just used the LaserScan coming from the ROSARIA package with no filtering or configuration.

fendrbud gravatar image fendrbud  ( 2020-02-12 03:06:31 -0500 )edit

Well, you can still use the one from there. I don't think that this should be an issue. As said, the driver needs to provide the respective values. So everything should be there.

mgruhler gravatar image mgruhler  ( 2020-02-12 03:19:56 -0500 )edit

Question Tools

1 follower


Asked: 2020-02-11 07:04:03 -0500

Seen: 155 times

Last updated: Feb 11 '20