How to export PointCloud2 Data from a bagfile with a timestamp?

1 view (last 30 days)
Hello, I would like to export PointCloud2 Data from a ROS bagfile. Is there any possibility to save this data in a Matlab environment like in a timeseries object?
It would also be nice to have only XYZ coordinates with timestamps so you can can access and replay them without the Robotics System Toolbox .
Thanks!

Answers (1)

Tohru Kikawada
Tohru Kikawada on 2 May 2019
Edited: Tohru Kikawada on 2 May 2019
Reading PointCloud2 messages from rosbag is one of the capabilities of Robotics System Toolbox, so you'll need to introduce the toolbox. https://mathworks.com/help/robotics/ref/robotics.pointcloud2.html

Categories

Find more on Specialized Messages in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!