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

A question about ROS Laser Scan Assembler

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

saddddddd gravatar image

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

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 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

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

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 -0500

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

Question Tools


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

Seen: 714 times

Last updated: Jan 10 '13