Added robot move commands its own message buffer

This commit is contained in:
Your Name
2026-10-06 13:36:36 +03:00
parent bb1e17b27a
commit 7a7e7d9c68
9 changed files with 296 additions and 32 deletions
+4
View File
@@ -48,6 +48,9 @@ COMMANDS = {
"DIGITAL_LEG_OUT": 12,
"POWER_MONITOR_SET_READ": 13,
"POWER_MONITOR_READ": 14,
"MOVE_COMMAND_START": 15,
"TEST": 16,
"MOVE_COMMAND_END": 17,
}
COMMAND_NAMES = {v: k for k, v in COMMANDS.items()}
@@ -60,6 +63,7 @@ COMMANDS_DATA_OPTIONAL = {
"LED_TOGGLE",
"ADC_READ_RAW_ALL",
"ADC_READ_ALL",
"TEST",
}
# struct formats for typed data tokens (all little-endian)