DFKI-NI / rospy_message_converter

Converts between Python dictionaries and JSON to ROS messages.
BSD 3-Clause "New" or "Revised" License
226 stars 101 forks source link

message_conversion failes while parsing fixed PointCloud2 #20

Closed 3shao closed 5 years ago

3shao commented 6 years ago

Array in message data being read as string, the data of PointCloud2 is interpreted as a random code, not an array. how Can I do?

mintar commented 5 years ago

This is not a bug in rospy_message_converter; it's the way the PointCloud2 message is defined. I've successfully used rospy_message_converter to convert PointCloud2 messages from python to ROS message, and never had any problem. If you're looking for a way to parse PointCloud2 messages, please have a look at http://wiki.ros.org/pcl_ros.