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!

Antworten (1)

Tohru Kikawada
Tohru Kikawada am 2 Mai 2019
Bearbeitet: Tohru Kikawada am 2 Mai 2019

0 Stimmen

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

Kategorien

Gefragt:

JR
am 6 Okt. 2015

Bearbeitet:

am 2 Mai 2019

Community Treasure Hunt

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

Start Hunting!

Translated by