北陽電機さんのUBGセンサーをmatlabでコントロールするには?
Show older comments
URGファミリードライバー
というのを見つけて、そのままコピーして作動させようとしたができなかった。反応は出るが、エラーが出る。matlabに触れるのはほとんど初めてなので、プログラミングを読み解くことも容易ではありません。その為、何が良くて何が悪いのか判断が難しいです。誰か助けて!
実行1回目に出たエラー:
「警告: 読み取りに失敗しました: A timeout occurred before the Terminator was reached.
'serial' unable to read all requested data. For more information on possible reasons, see Serial Read Warnings. 」
「関数または変数 'Scan_GUI' が未定義です。
エラー: run (line 38)
Scan_GUI 」
実行2回目に出たエラー:(実行1回目に出たエラーはもう出ない)
「エラー: serial/fopen (line 72)
開くことができません: Port: COM4 is not available. No ports are available.
Use INSTRFIND to determine if other instrument objects are connected to the requested device.」
「エラー: run (line 20)
fopen(lidar);」
マジで分からん・・・
Accepted Answer
More Answers (0)
Categories
Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!