Working with Ouster Lidar and pointcloud2
6 ビュー (過去 30 日間)
古いコメントを表示
julien attiogbe
2019 年 12 月 9 日
コメント済み: julien attiogbe
2019 年 12 月 10 日
Hello,
I am trying to apply this tutorial to my case where I work with Ouster's lidar data:
I don't know how to apply readXYZ() or readRGB() from a bagfile.
So far, I've tried it through this tutorial https://fr.mathworks.com/help/ros/ref/readmessages.html?searchHighlight=readMessages&s_tid=doc_srchtitle
but I get a structure object, so the format is not compatible.
Can anyone help me with that?
0 件のコメント
採用された回答
Cam Salzberger
2019 年 12 月 9 日
Hello Julien,
I haven't tried the Ouster data, but there are two options when reading messages from rosbag: you can read them in as structures or as message objects. If you use "DataFormat","struct", the read will generally be faster, but it is not currently usable with the convenience functions readXYZ and readRGB. I would suggest leaving off the "DataFormat" name-value pair to extract the messages as objects, then call the functions.
-Cam
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Specialized Messages についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!