ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

A question about ROS Laser Scan Assembler

asked 2013-01-10 13:34:04 -0600

saddddddd gravatar image

updated 2014-01-28 17:14:48 -0600

ngrennan gravatar image

I am using single scan sensor_msgs/LaserScan message provided in laser.bag, and I try to use the Laser Scan Assembler to form a bigger point cloud, by it fails in rviz (seems not bring in sensor_msgs/PointCloud message). what are the possible reasons?

edit retag flag offensive close merge delete


Ok, finally, I find I use a wrong simulation time, as the clock section said, we should set /use_sim_time to true before we run the service calling node.

saddddddd gravatar image saddddddd  ( 2013-01-14 13:44:49 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-01-10 14:22:43 -0600

allenh1 gravatar image

The issue is deals with the message type. If you open it as a PointCloud2 in RVIZ, it should work.

edit flag offensive delete link more

answered 2013-01-10 16:33:58 -0600

saddddddd gravatar image

I find that the original code exits a bug: in the construction function, the code of the example in the link I list before doesn't include initialization code of ros::nodehandle, I add this code and it works.

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


Asked: 2013-01-10 13:34:04 -0600

Seen: 669 times

Last updated: Jan 10 '13