SBB Micro
Source code for the self-balancing-bike microcontroller unit (Teensy 4.1-based). 🚀️
Loading...
Searching...
No Matches
ForkDisp Struct Reference

Fork displacement raw data. More...

#include <objects.h>

Public Attributes

uint16_t forkDisp
 Fork displacement (in bits).
 
float forkDisp_offset
 Fork displacement offset (in mm).
 

Detailed Description

Fork displacement raw data.

The struct contains the raw data from the fork displacement sensor.

  • Fork displacement is in bits.
  • Fork displacement offset in in mm.
See also
Constants Macros

Member Data Documentation

◆ forkDisp

uint16_t ForkDisp::forkDisp

Fork displacement (in bits).

Measured value from ADC.

See also
FORK_DISP CONVERT_FORKDISP_TO_MM

◆ forkDisp_offset

float ForkDisp::forkDisp_offset

Fork displacement offset (in mm).

See also
FULLEXT_FORKDISP