tuftsBaxter / ROS-for-LabVIEW-Software

49 stars 23 forks source link

Sensor_msgs/PointCloud2 #2

Closed robotsorcerer closed 8 years ago

robotsorcerer commented 8 years ago

Hello Guys,

Thanks for this ROS integration . Do you have a Sensor_msgs/PointCloud2 vi to parse ROS PointCloud2 messages? I see your code has the sensor_msgs/PointCloud vi but I tried this and it did not seem to work with PointCloud2 messages. The x, y, and z fields are not updated.

Would appreciate your response. Thanks!

wcrooks commented 8 years ago

Hi lakehanne,

Looks like we currently don't have that. The PointCloud VI won't work for PointCloud2 because they're sending different data types across (see links). You can create your own using the parse building blocks provided (if you open up parse_point_cloud.vi, you can see how we did that for Sensor_msgs/PointCloud). I can update the files to include a prebuilt VI for that by the weekend.

Hope that helps! Whitney

robotsorcerer commented 8 years ago

Hey @wcrooks , thanks for the feedback. I am looking forward to your updated push over the weekend.

wcrooks commented 8 years ago

It's up now. Let me know how it works.