Trossen Robotics Pincher can't connect to Matlab
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.'
0 commentaires
Réponses (2)
Walter Roberson
le 27 Déc 2017
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
0 commentaires
Jason
le 4 Mar 2019
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 commentaire
Walter Roberson
le 4 Mar 2019
/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.
Voir également
Catégories
En savoir plus sur ROS Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!