Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 130

Why is pcl_ros::transformPointCloud changing the frame_id

$
0
0
Hi, if got the following code: cloud_out->header.frame_id = ""; tf_listener_->lookupTransform( frame_out, frame_in, stamp, transform); ROS_INFO("Frame before: %s", cloud_out->header.frame_id.c_str()); pcl_ros::transformPointCloud( *cloud_in, *cloud_out, transform ); ROS_INFO("Frame after : %s", cloud_out->header.frame_id.c_str()); The first output, gives out_frame, but after the transformation the frame is set to the frame of cloud_in For me this looks like an error, is there a reason to change the frame_id like this?

Viewing all articles
Browse latest Browse all 130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>