First time here? Check out the FAQ!


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

How to gain access to newly created point cloud map

asked Oct 3 '11

tyler258 gravatar image

After successfully running my point cloud data through the laser assembler node and creating a composite map how do I gain access to this new map and send it to different nodes?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered Oct 3 '11

DimitriProsser gravatar image

The laser_assembler node publishes to the assembled_cloud topic. You can then subscribe to this topic to gain access to the data in a ROS node. The assembled_cloud message is of the type sensor_msgs/PointCloud. You could use something like:

cloud_sub_ = node_.subscribe<sensor_msgs::PointCloud> ("/assembled_cloud", 100, &MyNode::CloudCallback, this);
Preview: (hide)

Question Tools

Stats

Asked: Oct 3 '11

Seen: 237 times

Last updated: Oct 03 '11