Commands and ResponsesThe motor controller firmware also supports custom commands that allow for the instantaneous setting of multiple controllers on a party line comms bus. PROPULSION_COMMAND: 0xaaThe propulsion command is an application custom command which is sent as a write request to CSR address 0xF0 (the custom command register. It has the following data payload format:
Where:
Typically this is sent as a group multicast to address 0x81 which is reserved for thrusters. RESPONSE_THRUSTER_STANDARD: 0x02The standard thruster response is typically used in conjunction with the multicast PROPULSION COMMAND to retrieve data from each thruster in the system in a round robin fashion. When the FLAG byte is set to 0x02 the RESPONSE_THRUSTER_STANDARD data payload is sent. The format of this payload is defined by the following structure: Response_Thruster_Standard { Please see the example thruster.py for an illustration of how to use the PROPULSION_COMMAND and parse the RESPONSE_THRUSTERS_STANDARD response packet. |
|
[ Help us improve this document ] [ Print this page ] |