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!

回答 (1 件)

Tohru Kikawada
Tohru Kikawada 2019 年 5 月 2 日
編集済み: Tohru Kikawada 2019 年 5 月 2 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeSpecialized Messages についてさらに検索

質問済み:

JR
2015 年 10 月 6 日

編集済み:

2019 年 5 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by