Ask Your Question
0

Including pcl_ros for transformPointCloud

asked 2015-03-11 17:40:31 -0500

RosFan19 gravatar image

updated 2015-03-12 02:45:01 -0500

gvdhoorn gravatar image

Hi,

So I'm trying to use pcl_ros method:

transformPointCloud (const std::string &target_frame, const sensor_msgs::PointCloud2 &in, sensor_msgs::PointCloud2 &out, const tf::TransformListener &tf_listener)

from http://docs.ros.org/api/pcl_ros/html/...

But I'm not sure what pcl_ros/... to include. Like msot things, it doesn't seem to be under #include <pcl_ros/point_cloud.h>

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-03-11 18:03:03 -0500

Thomas D gravatar image

Use

#include <pcl_ros/transforms.h>

You can find documentation for pcl_ros in ROS Inidigo at docs.ros.org. I found that page by googling for pcl_ros transformpointcloud. The linked file says that the function pcl_ros::transformPointCloud() is defined in transforms.hpp.

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

1 follower

Stats

Asked: 2015-03-11 17:40:31 -0500

Seen: 1,872 times

Last updated: Mar 12 '15