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

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!

Réponses (1)

Tohru Kikawada
Tohru Kikawada le 2 Mai 2019
Modifié(e) : Tohru Kikawada le 2 Mai 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

Catégories

Question posée :

JR
le 6 Oct 2015

Community Treasure Hunt

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

Start Hunting!

Translated by