Hi, i want to connect a Velodyne Lidar using Matlab UDP, i know each packet is 1248 Byte long, address 192.168.1.210 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.

 채택된 답변

Madhura Suresh
Madhura Suresh 2019년 4월 9일

0 개 추천

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.
Madhura

추가 답변 (2개)

shanbing han
shanbing han 2017년 1월 6일

0 개 추천

I have also encountered the same problem
Pavel Enrique Gonzalez Prieto
Pavel Enrique Gonzalez Prieto 2019년 4월 9일

0 개 추천

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