Commands
Overview of commands
Requests and Responses are formed as a string. A Request begins with a key character and ends in _. A response begins with %, contains the original command and has a list of responses following the = sign.
Requests
Frame shape
{TOKEN}[ arg1 arg2 ...]_\r
The trailing _ is required before \r.
Responses
Replies end with \r.
General pattern:
%{REQUEST_TOKEN}={payload}_\r
Where REQUEST_TOKEN matches what you sent ?STTN, @TDIR, etc.).
Examples
?STTN_\r Station query
@TDIR 1_\r Direction command
^RSPD 0.8_\r Speed parameter
Invalid framing is treated as an unparsed / error path on the robot. You will typically see #ERR in the response path described below.

