Interfacing Hokuyo utm-30lx Lidar (USB interface) to MATLAB

7 views (last 30 days)
Hello everybody
I want to read data from Hokuyo utm-30lx sensor using matlab. It has USB interface. Is there any way to read from it rather than creating my own usb driver?!

Answers (2)

Walter Roberson
Walter Roberson on 9 Jan 2017
Edited: Walter Roberson on 10 Jan 2017
  8 Comments
Hiba Al Farsi
Hiba Al Farsi on 11 Jan 2017
Edited: Hiba Al Farsi on 11 Jan 2017
Dear Mr.Walter
Thank you for the quick response. now, there is another error when the code reach fscan(lidar)
Warning: Unsuccessful read: A timeout occurred before the Terminator was reached..
ans =
''
I tried to increase the pause value. but still i have the same issue.
Hiba Al Farsi
Hiba Al Farsi on 11 Jan 2017
Also, when i tried to enter this command in Command Window >> lidar=serial('COM5') ; The output:
Serial Port Object : Serial-COM5
Communication Settings
Port: COM5
BaudRate: 9600
Terminator: 'LF'
Communication State
Status: closed
RecordStatus: off
Read/Write State
TransferStatus: idle
BytesAvailable: 0
ValuesReceived: 0
ValuesSent: 0

Sign in to comment.


Mohamed Hassanien
Mohamed Hassanien on 18 Feb 2018
Hi Hiba,
I am currently just trying to figure out the point your trying to reach, I want to extract the data from the same LIDAR type ( points and angles )
maybe you can help me out if you have succeed already in that ?
Thank you, Mohamed

Community Treasure Hunt

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

Start Hunting!