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

Point cloud data appear in free space in stage_ros simulation

asked 2020-03-28 10:05:28 -0500

nkuwenjian gravatar image

updated 2020-03-28 22:40:35 -0500

Hi everyone,

I am trying to simulate world model via stage_ros package. However, I found that there are simulated point cloud appearing in the free space, as shown in the figure below.

I found that the ranges of these laser scan points that should not appear are all 5.0m. However, the max range of range sensor is set to 30.0m in the .world file. So I am confused why this happens?image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-28 22:52:54 -0500

nkuwenjian gravatar image

Ok, I have figured out this problem.

I used "rostopic echo /scan" to see the info of LaserScan message, and I found that even if the laser beam does not hit the obstacle, the range value will also be returned. However, the corresponding intensity value is zero. Using the intensity value to filter the point cloud, the correct point cloud data can be obtained.

image description

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-03-28 10:05:28 -0500

Seen: 98 times

Last updated: Mar 28 '20