Files
firmware/main/control
2026-05-19 23:12:26 -04:00
..
2026-05-19 23:12:26 -04:00
2026-05-19 23:12:26 -04:00
2026-05-19 23:12:26 -04:00

Adding New Modules

Adding Actuators

  1. Append the actuator you want to add to the enum in the RobotModule flatbuffer definition
  1. Update any of the entries in the Constants module that depend on the module type (for instance, MODULE_TO_NUM_CHANNELS_MAP).
  2. Create a header file for the module, implementing IActuator.
  3. Implement the actuator
  • Deserialize the control message with Flatbuffers to match the message sent by the control library.
  • Do not block for too long in the actuate function, as this will block the main control loop.
  1. Add the actuator to the ActuatorFactory.