Midnight Sun Firmware
Loading...
Searching...
No Matches
DisplayData

Data for the display, CAN RX or internal. More...

#include <steering.h>

Public Attributes

uint8_t pedal_percentage
 
int16_t motor_heatsink_temp
 
int16_t motor_temp
 
int16_t vehicle_velocity
 
int16_t motor_velocity
 
BpsFault bps_fault
 
float state_of_charge
 
int16_t dcdc_voltage
 
int16_t dcdc_current
 
int16_t aux_voltage
 
int16_t aux_current
 
uint16_t pack_voltage
 
uint16_t pack_current
 
VehicleDriveState drive_state
 
uint8_t brake_enabled
 
uint8_t regen_enabled
 
uint8_t precharge_complete
 

Detailed Description

Data for the display, CAN RX or internal.

Member Data Documentation

◆ aux_current

int16_t aux_current

Auxiliary bus current (mA)

◆ aux_voltage

int16_t aux_voltage

Auxiliary bus voltage (mV)

◆ bps_fault

BpsFault bps_fault

BPS fault bitfield

◆ dcdc_current

int16_t dcdc_current

DC/DC or PCS bus current (mA)

◆ dcdc_voltage

int16_t dcdc_voltage

Battery percentage from 0-100, two decimal points of precision DC/DC or PCS bus voltage (mV)

◆ motor_heatsink_temp

int16_t motor_heatsink_temp

Temperature of the motor heatsink

◆ motor_temp

int16_t motor_temp

Temperature of the motor

◆ motor_velocity

int16_t motor_velocity

Angular velocity of the motor in ???

◆ pack_current

uint16_t pack_current

Pack current reading (mA)

◆ pack_voltage

uint16_t pack_voltage

Pack voltage reading (mV)

◆ pedal_percentage

uint8_t pedal_percentage

Pedal percentage, from (0, 100)

◆ vehicle_velocity

int16_t vehicle_velocity

Velocity of the vehicle in kph


The documentation for this struct was generated from the following file: