ME 507 Romi++
Cylindrical Differential Drive Robot created for ME 507 at Cal Poly in Spring 2025
Loading...
Searching...
No Matches
balance.h File Reference

Declaration of the BALANCE class for managing robot balance using a FSM. More...

#include "BNO055_STM32.h"
#include "time_utils.h"
#include <stdint.h>
#include <algorithm>

Go to the source code of this file.

Classes

class  BALANCE
 Finite State Machine class for robot balance control. More...

Variables

BNO055_Sensors_t BNO055
 External reference to BNO055 sensor data structure.
volatile bool USER
 External flag indicating user button press.

Detailed Description

Declaration of the BALANCE class for managing robot balance using a FSM.

This header defines a finite state machine (FSM) class for maintaining balance of a differential drive robot using BNO055 IMU data. It includes PID control logic and internal state tracking.