Hi People
I am new to this forum. I fiddling with a maestro 12 (Firmware 1.03) using Python 2.7 on Windows, Mac and Linux. The controller works perfectly with Python as long as I don’t activate the CRC check. I modified the python code provided here. When I activate CRC on the controller (via control panel) and try to send the message with the additional CRC attached, the maestro gets red.
Example 1 (no CRC activated) asking for the position of servo 0 on board 01:
I send the sequence AAh/01h/10h/00h … thats works perfectly
Example 2: Then I try to do the same with activated CRC: AAh/01h/10h/00h/0Dh 0Dh being the CRC-7 of the command 10h/00h. The controller shows me a red LED
My question: The CRC is only calculated for the command itself, not for servo-address, board Nr or even the AAh sync? Right? I think I got the CRC-7 implementation on Python right, at least it gives the same results as the C code you provide on your homepage.
What could be the problem? I want the CRC because that gives me more robustness of the communication…
Thanks a lot
Bruno