A single ROS 2 (Humble) package bundling three utilities:
pointcloud_to_ply— Capture a point cloud from a topic and store it in.plyor.objformatply_to_xyz_transframer— Transform a.plyfile expressed in one frame of reference to a.xyzfile expressed in anotherxyz_to_ply_transframer— Transform a.xyzfile expressed in one frame of reference to a.plyfile expressed in another
cd ~/ros2_ws/src
git clone -b humble-devel https://github.com/li9i/ply-utils.git
cd ~/ros2_ws
rosdep install --from-paths src -y --ignore-src
colcon build --packages-select ply_utilspointcloud_to_ply additionally requires Open3D, which has no rosdep key:
pip3 install open3dros2 launch ply_utils pointcloud_to_ply.launch.xml
ros2 launch ply_utils ply_to_xyz_transframer.launch.xml
ros2 launch ply_utils xyz_to_ply_transframer.launch.xml