lucasw / transform_point_cloud

transform a pointcloud2 with tf2
BSD 3-Clause "New" or "Revised" License
32 stars 11 forks source link

transform_point_cloud

transform a pointcloud2 with tf2, dynamic reconfigure to change the lookup transform parameters.

Demonstration:

https://github.com/lucasw/dynamic_reconfigure_tools is required.

roslaunch transform_point_cloud demo.launch

rviz and rqt demo.launch

In the image above the point cloud originally has map for a frame_id, but the parameters transform the points to relative to frame2 by the same amount, with frame1 as the new frame_id.

rust

ROS_PACKAGE_PATH=`rospack find geometry_msgs`:`rospack find tf2_msgs`:`rospack find sensor_msgs`:`rospack find std_msgs`:`rospack find actionlib_msgs` cargo build --release