Ask Your Question
0

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?

links:www.ros.org/wiki/laser_assembler/Tutorials/HowToAssembleLaserScans

edit retag flag offensive close merge delete

Comments

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
0

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
0

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

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: 2013-01-10 13:34:04 -0500

Seen: 380 times

Last updated: Jan 10 '13