From ARVP
[edit] Overview
The goal of this module is to handle the micro-controller/embedded-computer communication, and is a part of the Messenger. Sending and receiving data from the embedded computer is the primary job of the micro-controller.
[edit] Communication Details
- Each set of data is on it's own line (i.e. it's followed by a \n or \r or both)
- The micro-controller continuously transmits sensor information, while also accepting commands and inbound data.
- Data inbound or outbound is identified by a token similar to this: [<unique_name>]
- One line of data is begun by a identifier, followed by a space, and then the data string
Ex: IMU is identified by [IMU]
[edit] Communication Commands
| Command Structure | Meaning |
|---|---|
| i | imu identifier |
| r1 | roboteq 1 identifier |
| r2 | roboteq 2 identifier |
| r3 | roboteq 3 identifier |
| k | kill switch identifier |
