How convert `sensor_msgs/PointCloud2` message to 3D coordinate
Hello,
As it is explained here: http://docs.ros.org/en/lunar/api/sens...
sensor_msgs/PointCloud2
has different attributes like header, fields, is_bigendian, point_step, ..., data.
Different attribute, especially fields and is_bigendian
, has confused me. How can I convert sensor_msgs/PointCloud2
message to a 3D coordinate? I want to convert it to a NumPy array with shape (N, 3)