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

5 ビュー (過去 30 日間)
Hiba Al Farsi
Hiba Al Farsi 2017 年 1 月 9 日
回答済み: Mohamed Hassanien 2018 年 2 月 18 日
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?!

回答 (2 件)

Walter Roberson
Walter Roberson 2017 年 1 月 9 日
編集済み: Walter Roberson 2017 年 1 月 10 日
  8 件のコメント
Hiba Al Farsi
Hiba Al Farsi 2017 年 1 月 11 日
編集済み: Hiba Al Farsi 2017 年 1 月 11 日
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 2017 年 1 月 11 日
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

サインインしてコメントする。


Mohamed Hassanien
Mohamed Hassanien 2018 年 2 月 18 日
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!

Translated by