フィルターのクリア

Trossen Robotics Pincher can't connect to Matlab

2 ビュー (過去 30 日間)
Stephen Wilkerson
Stephen Wilkerson 2017 年 12 月 27 日
コメント済み: Walter Roberson 2019 年 3 月 4 日
I have the libraries from Peter Corke installed, but when I start it tells meopen failed. Has anyone seen this: >> arb=Arbotix("port", "/dev/cu.usbserial-AL03ERRI", "nservos", 5); open failed ans = 'Open failed: Port: is not available. Available ports: /dev/tty.Bluetooth-Incoming-Port, /dev/cu.Bluetooth-Incoming-Port, /dev/tty.usbserial-AL03ERRI, /dev/cu.usbserial-AL03ERRI. Use INSTRFIND to determine if other instrument objects are connected to the requested device.'

回答 (2 件)

Walter Roberson
Walter Roberson 2017 年 12 月 27 日
Check the permissions on the device. Os-x and Linux default to having the dev tty devices available only to root.
You might need to sudo chmod or sudo chown the device. But changes made this way usually do not survive reboot;the way to make them persistent depend on your os

Jason
Jason 2019 年 3 月 4 日
You probably have a fix for this but I had the same error. I just replaced "/dev/cu.usbserial-AL03ERRI" (which I have no idea what it was trying to do) with the actual COM port I was using. Like "COM7".
I'm actually having some issues using Corke's "Using the Robotics Toolbox with a real robot" document. The inverse kinematics dies when I try it saying the DOF is not sufficient. I'm using the exact same matlab code as he did. I'm guessing something must have changed.
Good Luck
Jason
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 3 月 4 日
/dev/cu.usbserial-AL03ERRI is Linux convention for an automatically created device name for a virtual serial port that is interfacing to a USB emulated serial port for a device with identifier AL03ERRI . On Windows, emulated serial ports appear as COM* devices.

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

カテゴリ

Help Center および File ExchangeROS Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by