rattus_send_twist
Send linear and angular velocity commands to an Arduino by packing a CRC-8/MAXIM-validated CMD_TWIST frame and writing it to the open serial port.
Instructions
Phase 2.7 PC-masquerade: pack a CMD_TWIST frame (CRC-8/MAXIM) and write it to the open serial port (Uno USB). Requires serial_open first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vMmS": "<vMmS>",
"omegaMradS": "<omegaMradS>"
},
"name": "rattus_send_twist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq | No | Sequence byte (default auto-increment) | |
| vMmS | Yes | Linear velocity mm/s | |
| omegaMradS | Yes | Angular velocity mrad/s |