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

Torsiometer raw data. More...

#include <objects.h>

Public Attributes

uint16_t riderTorque
 Rider torque (in bits).
 
float riderTorque_offset
 Rider torque offset (in Nm).
 

Detailed Description

Torsiometer raw data.

The struct contains the raw data from the torsiometer.

  • Rider torque is in bits.
  • Rider torque offset is in Nm.
See also
Constants Macros

Member Data Documentation

◆ riderTorque

uint16_t RiderTorque::riderTorque

Rider torque (in bits).

Measured value from the ADC.

See also
RIDER_TRQ CONVERT_RIDERTRQ_TO_NM

◆ riderTorque_offset

float RiderTorque::riderTorque_offset

Rider torque offset (in Nm).

The value is found from a zero procedure at the startup.

See also
do_zeros()