I can use the Pololu Maestro Control Center with 100% reliability.
When I use UscCmd it sometimes works but not consistently. When I use this command:
I sometimes receive this error:
C:\Program Files\Pololu\Maestro\bin>usccmd --servo 0,7000
Setting target of servo 0 to 7000...
Unhandled Exception: System.Exception: Failed to set target of servo 0 to 7000. ---> System.ComponentModel.Win32Exception: Control transfer failed.
at Pololu.WinusbHelper.WinUsbDevice.controlTransfer(WINUSB_SETUP_PACKET setupPacket, Void* buffer)
at Pololu.WinusbHelper.WinUsbDevice.controlTransfer(WINUSB_SETUP_PACKET setupPacket)
at Pololu.UsbWrapper.UsbDevice.MyWinUsbDevice.controlTransfer(Byte RequestType, Byte Request, UInt16 Value, UInt16 Index)
at Pololu.UsbWrapper.UsbDevice.controlTransfer(Byte RequestType, Byte Request, UInt16 Value, UInt16 Index)
at Pololu.Usc.Usc.setTarget(Byte servo, UInt16 value)
--- End of inner exception stack trace ---
at Pololu.Usc.Usc.setTarget(Byte servo, UInt16 value)
at Pololu.Usc.UscCmd.Program.Main(String[] args)
Sometimes I can send a few commands without error and the servo moves then randomly I get the error.
My setup uses these components:
Maestro 6 channel controller
HD-1800A Servo
Four AAA alkaline batteries for servo power
I am using Windows in a Virtual Machine (VMWare Fusion) on a an Apple Mac running Yosemite.
Some other threads here indicate maybe there is a USB communications problem. Since the Pololu Maestro Control Center seems to work 100% of the time that does not seem like the issue.
Any suggestions would be appreciated.