SBB Micro
Source code for the self-balancing-bike microcontroller unit (Teensy 4.1-based). 🚀️
|
Steering raw data. More...
#include <objects.h>
Public Attributes | |
uint16_t | steerPos |
Steering angle (in bits). | |
uint16_t | steerVel |
Steering rate (in bits). | |
float | steerVel_offset |
Steering rate offset (in rad/s). | |
Steering raw data.
The struct contains the raw data from the steering sensors.
uint16_t Steer::steerPos |
Steering angle (in bits).
Measured value from ADC at the steering shaft.
uint16_t Steer::steerVel |
Steering rate (in bits).
Measured value from ADC at the steer-motor shaft.
float Steer::steerVel_offset |
Steering rate offset (in rad/s).
The value is found from a zero procedure at the startup.