- maple.m - the matlab file that generates A, B, K matrices
- balancer.ino - the main arduino file to compile (and upload to robot)
- estimator.cpp - the full state estimator (wraps Kalman filter)
- servoMotor.cpp - small class to help read data from encoders
- Wire.h - this is a core Arduino lib
- Adafruit_Sensor.h - this is a core Ardruino lib
- Adafruit_BNO055.h - https://github.com/adafruit/Adafruit_BNO055
- SoftwareSerial.h - this is a core Arduino lib
- SabertoothSimplified.h - https://www.dimensionengineering.com/info/arduino
- BasicLinearAlgebra.h - https://github.com/keithmgould/BasicLinearAlgebra
- kalman.h - https://github.com/keithmgould/kalman-cpp
- Run matlab script (maple.m) to generate A, B, K matrices.
- Copy matrix values into the estimator.cpp file.
- make the main file (balancer.ino)