Maestro
Maestro copied to clipboard
Multiple Maestros
It might be worth noting in the documentation and/or code that this is also a way of identifying a Maestro:
self.servoControllerA = maestro.Controller("/dev/serial/by-id/usb-Pololu_Corporation_Pololu_Micro_Maestro_6-Servo_Controller_XXXXXXXX-if00")
Where XXXXXXXX is the ID of the Maestro.
If you use the /dev/ttyA*** method, they may change depending on the order in which devices are attached or powered up. The soft link provided by /dev/serial/by-id will always attach to the the same controller.
(PS thanks for the code!)