Ask Your Question
0

constraining angle in laser scan

asked 2011-05-30 20:40:42 -0500

ravi gravatar image

updated 2011-06-17 12:22:14 -0500

kwc gravatar image

Hi,

I am using "laser.bag" to publish the laser scan and then I am taking a temporary pointer to the subscribed laser scan and changing the angle_min and max to reduce the point cloud obtained by function "transformLaserScanToPointCloud()", but it does not work. When I visualize my published point cloud in RVIZ and compare it with the original point cloud (i.e. without any angle change) then only the direction of point cloud in RVIZ changes there is no any compression/reduction in point cloud.

Help me in getting the solution.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-06-17 12:23:44 -0500

kwc gravatar image

It's not sufficient to just change the metadata (i.e. angle_min/max) in the laserscan. You need to modify the laserscan data itself to remove the points you wish to filter.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-05-30 20:40:42 -0500

Seen: 274 times

Last updated: Jun 17 '11