TransformPointCloud invalid argument error

asked 2015-10-02 06:12:16 -0600

Saracerno gravatar image

updated 2015-10-02 06:15:46 -0600

 
void callback(const QuaternionStampedConstPtr& quaternionS, const PointCloudConstPtr& pointcloud)
{
    scan_in = pointcloud;
    angle_in = quaternionS;

to_apply = TransformConstPtr(tf::Transform(angle_in.quaternion));

pcl_ros::transformPointCloud(pointcloud,scan_out,*to_apply);

}

PointCloud scan_in; PointCloud * scan_out; QuaternionStamped angle_in; TransformConstPtr to_apply;

This is my situation and the pcl_ros::transformPointCloud(pointcloud,scan_out,*to_apply); function give me invalid argument error. How can i solve it??

edit retag flag offensive close merge delete