ROS create PointCloud2 from MATLAB pointCloud
Afficher commentaires plus anciens
I am looking to convert a MATLAB pointCloud object to a ROS PointCloud2 message. My application is receiving a point cloud, and processing the data in MATLAB. Then I wish to publish this cloud to ROS in the PointCloud2 format. I assume that since MATLAB can read the XYZ and RGB values in my subscribed PointCloud2 then there are translations between the two.
This is my current MATLAB pointCloud object that I wish to transform to something similar to the PointCloud2 that i receive.

This is my received PointCloud2 message in MATLAB:

I would very much appreciate any help! I think that I really don't understand how the PointCloud2 messages are formatted...
1 commentaire
Connor Fuhrman
le 17 Avr 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Specialized Messages dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

