Ask Your Question
0

Source data types for navigation stack (PointCloud or PointCloud2?)

asked 2016-07-14 03:44:04 -0600

OMC gravatar image

Hello!

I have been looking for information about the navigation stack and I am a bit confused. In the "Setup and Configuration of the Navigation Stack on a Robot" tutorial it is said:

"the "data_type" parameter should be set to LaserScan or PointCloud depending on which message the topic uses"

while in the changelist 1.3 it is said:

"The navigation stack now supports the sensor_msgs/PointCloud2 message which should allow it to be used directly with many PCL filters and nodelets. As a result of this, sensor_msgs/PointCloud support becomes slightly less efficient because a conversion must take place."

Also, I have found some people answering recent questions about data_types saying that they should be either LaserScan or PointCloud, even though the changelist is already a bit old (2010).

I have a velodyne sensor in V-REP that publishes in PointCloud2 so, I am wondering if I can directly add the sensor setting the data_type to PointCloud2 or if I really need to convert the point cloud.

I have tried it, but I get a few errors and I want to discard some options to get it to work.

Regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-07-14 03:59:55 -0600

Arwen gravatar image

updated 2016-07-14 04:45:36 -0600

Yes, you can set the data_type to PointCloud2.

More information is available in the wiki.

edit flag offensive delete link more

Comments

Thank you! I had missed that wiki.

OMC gravatar imageOMC ( 2016-07-14 04:38:08 -0600 )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

1 follower

Stats

Asked: 2016-07-14 03:44:04 -0600

Seen: 42,371 times

Last updated: Jul 14 '16