Fix RIP bugs, add in UART

This commit is contained in:
Johnathon Slightham
2026-03-31 14:26:37 -04:00
committed by Johnathon Slightham
parent d4602012f1
commit 548e8db484
26 changed files with 704 additions and 434 deletions

View File

@@ -10,7 +10,7 @@
#include "flatbuffers_generated/RobotModule_generated.h"
inline std::unordered_map<int, int> MODULE_TO_NUM_CHANNELS_MAP {
{ModuleType_SPLITTER, 4},
{ModuleType_SPLITTER, 3}, // should be 4
{ModuleType_SERVO_1, 2},
{ModuleType_DC_MOTOR, 1},
{ModuleType_SERVO_2, 2},
@@ -19,7 +19,7 @@ inline std::unordered_map<int, int> MODULE_TO_NUM_CHANNELS_MAP {
{ModuleType_SPEAKER, 1},
{ModuleType_IMU, 1},
{ModuleType_DISTANCE_SENSOR, 1},
{ModuleType_SPLITTER_2, 4},
{ModuleType_SPLITTER_2, 3}, // should be 4
{ModuleType_SPLITTER_3, 3},
{ModuleType_SPLITTER_4, 3},
{ModuleType_SPLITTER_5, 3},