Velodyne Lidar using Matlab UDP

12 views (last 30 days)
Hi, i want to connect a Velodyne Lidar using Matlab UDP, i know each packet is 1248 Byte long, address and port 2368, the sample time for each packet is about 0.0013 seconds, but everytime i try to read the data i get nothing.
Which function should i use ? I've already try with fread, step, and some others.

Accepted Answer

Madhura Suresh
Madhura Suresh on 9 Apr 2019
Hi Pavel,
Have you used the velodynelidar function in MATLAB that can be used for live acquisition from a LiDAR sensor? Here is an example.

More Answers (2)

shanbing han
shanbing han on 6 Jan 2017
I have also encountered the same problem

Pavel Enrique Gonzalez Prieto
Hi Madhura Suresh, this question is quite old, I solved it arround one and a half year ago by reading the sensor in ROS and then reading the topic from MATLAB.
Now, I see that your sugestion is a new function just introduced in MATLAB 2019a, so I will give it a look.
Thanks !


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by