ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

UDP analysis

asked 2017-11-06 08:13:54 -0500

summer gravatar image

I use a laser to connect to the computer (with ROS installed), the laser transmits the data over UDP, and I already know the structure of the UDP packet. I do not know if there is such a packet in ROS that can parse UDP data. What is the name of this package? how to use?

edit retag flag offensive close merge delete


Do you have a name of the laser (range finder/scanner?) and any links to the documentation for it?

lucasw gravatar image lucasw  ( 2017-11-06 10:58:32 -0500 )edit

The laser scanner name is Velodyne S3, you can see it at this site:

summer gravatar image summer  ( 2017-11-06 18:03:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-06 18:22:09 -0500

lucasw gravatar image

updated 2017-11-06 18:22:38 -0500 - it isn't clear that the S3 is supported, but I do see S3 mentioned in this issue .

edit flag offensive delete link more


thank you very much, your answer helped me. this is my required.

summer gravatar image summer  ( 2017-11-07 20:27:58 -0500 )edit

Hi again.I also have some question to ask you. I can see the point cloud by DSR or veloview software. But, I don't know information about the visualized point data, such as distance, time and others. Do you know that there is a toolkit in ROS for crawling UDP packets and parsing?

summer gravatar image summer  ( 2017-11-08 21:21:52 -0500 )edit

What I do is scan the plant with a laser scanner to get information about plant growth characteristics. Should I convert the acquired point cloud data (.pcp file) directly into a ROS node package and read the data in ROS?

summer gravatar image summer  ( 2017-11-08 21:31:08 -0500 )edit

You might be able to rebroadcast the acquired udp data back onto the network with wireshark (which is what captured it to begin with?) and use the ros velodyne driver linked above to turn it onto ros PointCloud2 messages which then other nodes could subscribe to to analyze.

lucasw gravatar image lucasw  ( 2017-11-09 11:12:27 -0500 )edit

The other nodes could then convert the PointCloud2 messages into PCL (Point Cloud Library) datatypes which then can be analyzed with PCL library tools, or you could write your own.

lucasw gravatar image lucasw  ( 2017-11-09 11:13:32 -0500 )edit

Question Tools



Asked: 2017-11-06 08:13:54 -0500

Seen: 982 times

Last updated: Nov 06 '17