19#include "BNO055_STM32.h"
25extern COMMAND_PARSER
parser;
31extern volatile bool USER;
volatile bool USER
External flag indicating user button press.
Definition main.cpp:100
BNO055_Sensors_t BNO055
External reference to BNO055 sensor data structure.
Definition main.cpp:94
void run(void)
Executes one iteration of the heading FSM and PID controller.
Definition heading.cpp:36
int32_t get_M1_eff(void)
Retrieves the motor 1 effort calculated by the heading controller.
Definition heading.cpp:23
int32_t get_M2_eff(void)
Retrieves the motor 2 effort calculated by the heading controller.
Definition heading.cpp:29
HEADING()
Constructor for the HEADING class.
Definition heading.cpp:14
state
Definition heading.h:46
@ S0_INIT
Initialization state.
Definition heading.h:47
@ S1_IDLE
Idle state (waiting for control activation)
Definition heading.h:48
@ S2_RUN
Active heading control loop.
Definition heading.h:49
Header for UART command parsing module.
COMMAND_PARSER parser
External reference to the command parser.
Definition main.cpp:97
Definition BNO055_STM32.h:278
Utility functions for microsecond-level timing.