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

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

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

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

Arwen gravatar image

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

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 image OMC  ( 2016-07-14 04:38:08 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 65,196 times

Last updated: Jul 14 '16