Humanoid Notes
From IPRE Wiki
CM-2 Plus
- In Linux, needed a udev rule to allow permissions to read/write the USB Serial port:
- /etc/udev/rules.d/10-ftdi.rules:
- MODE="0777"
- Put the CM-2+ in Manager Mode (1st blinking light)
- Open the serial port at 57600 baud
- import serial
- ser = serial.Serial("/dev/ttyUSB0", 57600)
- The CM-2+ will use its own UART to talk to the Dynamixel Bus at a Baud rate of 1000000
- send it a "t" and return and newline to put into "toss mode"
- ser.setTimeout(.1)
- ser.write("t\r\n")
- ser.read(10000)
Now you are ready to send it byte commands.