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

Clarification on sensor_msgs/Laserscan.msg

asked 2017-08-16 15:44:22 -0500

apples92 gravatar image

I am wanting to extract features from laser data I have acquired using ROS from Pepper in the form of a sensor_msgs/Laserscan.msg.

However I am struggling to understand certain parts of the message.

Firstly, which might be obvious, am I right to assume that I should disregard data which are in not within the range specified by range_min and range_max, in this case, 0.1000000015 and 1.5 metres, respectively?

Also, I am wanting to plot this data, so that I can get a visualization the field of view of the laser (possible wrong terminology). Ie where the laser beams managed to reached in relation to the actual robot.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-08-17 19:51:28 -0500

Ed Venator gravatar image

Firstly, which might be obvious, am I right to assume that I should disregard data which are in not within the range specified by range_min and range_max, in this case, 0.1000000015 and 1.5 metres, respectively?

Yes, that's the convention.

Also, I am wanting to plot this data, so that I can get a visualization the field of view of the laser (possible wrong terminology). Ie where the laser beams managed to reached in relation to the actual robot.

There is a plugin to view sensor_msgs/LaserScan in Rviz.

edit flag offensive delete link more
2

answered 2017-08-18 01:26:55 -0500

gvdhoorn gravatar image

Please see #q198843, and the sensor_msgs/LaserScan documentation.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-08-16 15:44:22 -0500

Seen: 710 times

Last updated: Aug 18 '17