by james.thorniley » Mon Jun 03, 2013 1:34 pm
by james.thorniley
Mon Jun 03, 2013 1:34 pm
Hi,
What is the best way to test the USB2AX under linux? I've got one and have been trying to use it. I've also got a USB2Dynamixel for testing.
I've tried lib_robotis.py as one user above mentioned (I can't include the URL as this is my first post, but its easy to find)
I have the SMPS2Dynamixel power adaptor, and with the USB2Dynamixel pluggin in the following works:
$ python lib_robotis.py -d /dev/ttyUSB0 --baud 1000000 --ang 0
I.e. the servo moves to the centre position.
But then I plug in the USB2AX instead and get:
- Code: Select all
$ python lib_robotis.py -d /dev/ttyACM0 --baud 1000000 --ang 0
Traceback (most recent call last):
File "lib_robotis.py", line 435, in <module>
servo = Robotis_Servo( dyn, opt.id )
File "lib_robotis.py", line 142, in __init__
( servo_id, self.dyn.dev_name ))
RuntimeError: lib_robotis: Error encountered. Could not find ID (1) on bus (/dev/ttyACM0), or USB2Dynamixel 3-way switch in wrong position.
No movement in the servo...
Any ideas what could be causing this or how to fix? From dmesg it looks like the device is connected ok:
- Code: Select all
[ 6083.176966] usb 3-3: new full-speed USB device number 25 using xhci_hcd
[ 6083.190487] usb 3-3: New USB device found, idVendor=16d0, idProduct=06a7
[ 6083.190498] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 6083.190504] usb 3-3: Product: USB2AX
[ 6083.190509] usb 3-3: Manufacturer: Xevelabs
[ 6083.190513] usb 3-3: SerialNumber: 6403635373035121E161
[ 6083.191243] usb 3-3: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 6083.192000] cdc_acm 3-3:1.0: ttyACM0: USB ACM device
Any help much appreciated!
James
Hi,
What is the best way to test the USB2AX under linux? I've got one and have been trying to use it. I've also got a USB2Dynamixel for testing.
I've tried lib_robotis.py as one user above mentioned (I can't include the URL as this is my first post, but its easy to find)
I have the SMPS2Dynamixel power adaptor, and with the USB2Dynamixel pluggin in the following works:
$ python lib_robotis.py -d /dev/ttyUSB0 --baud 1000000 --ang 0
I.e. the servo moves to the centre position.
But then I plug in the USB2AX instead and get:
- Code: Select all
$ python lib_robotis.py -d /dev/ttyACM0 --baud 1000000 --ang 0
Traceback (most recent call last):
File "lib_robotis.py", line 435, in <module>
servo = Robotis_Servo( dyn, opt.id )
File "lib_robotis.py", line 142, in __init__
( servo_id, self.dyn.dev_name ))
RuntimeError: lib_robotis: Error encountered. Could not find ID (1) on bus (/dev/ttyACM0), or USB2Dynamixel 3-way switch in wrong position.
No movement in the servo...
Any ideas what could be causing this or how to fix? From dmesg it looks like the device is connected ok:
- Code: Select all
[ 6083.176966] usb 3-3: new full-speed USB device number 25 using xhci_hcd
[ 6083.190487] usb 3-3: New USB device found, idVendor=16d0, idProduct=06a7
[ 6083.190498] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 6083.190504] usb 3-3: Product: USB2AX
[ 6083.190509] usb 3-3: Manufacturer: Xevelabs
[ 6083.190513] usb 3-3: SerialNumber: 6403635373035121E161
[ 6083.191243] usb 3-3: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 6083.192000] cdc_acm 3-3:1.0: ttyACM0: USB ACM device
Any help much appreciated!
James