Ask Your Question
3

laser_assembler with PointCloud2

asked 2012-02-16 00:56:35 -0500

alfa_80 gravatar image

I would like to know if we can ever work using laser_assembler with PointCloud2 data type. Last time I tried and so does mention in the the tutorial, laser_assemble is using PointCloud, instead of PointCloud2. If it is only meant to be compatible with only PointCloud, this seems not quite interesting because PointCloud type will be deprecated at some point in time later. There is another thread asking similar question, but, it was rather old information.

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-02-17 03:23:48 -0500

DimitriProsser gravatar image

I made my own because one did not exist. I wrote it up quickly, so it might not be fully optimized, but it's reliable and it works just fine. Instead of calling a service to receive the assembled cloud, this publishes the assembled cloud on every callback. For this reason, it's less efficient than ROS's laser_assembler, but it serves my purpose just fine. It also provides a service that allows you to pause the assembler so that you can view a cloud without it being updated. You can find the code here.

edit flag offensive delete link more

Comments

1

Thanks a lot! It works!

hali19 gravatar imagehali19 ( 2013-11-21 17:42:58 -0500 )edit

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: 2012-02-16 00:56:35 -0500

Seen: 1,038 times

Last updated: Feb 17 '12