![]() |
Midnight Sun Firmware
|
Data for the display, CAN RX or internal. More...
#include <steering.h>

Public Attributes | |
| float | state_of_charge |
| uint16_t | cell_voltages [36] |
| int16_t | vehicle_velocity |
| int16_t | dcdc_voltage |
| int16_t | dcdc_current |
| int16_t | aux_voltage |
| int16_t | aux_current |
| float | pack_voltage |
| float | pack_current |
| uint16_t | min_cell_voltage_mv |
| uint16_t | max_cell_voltage_mv |
| uint16_t | max_cell_temp |
| uint16_t | thermistor_temp_c [NUMBER_OF_THERMISTORS] |
| float | energy_used_wh |
| uint16_t | bps_fault |
| uint8_t | bps_fault_cell |
| bool | bps_fault_live |
| BpsFaultData | bps_fault_data |
| VehicleDriveState | drive_state |
| uint8_t | pedal_percentage |
| uint8_t | brake_percentage |
| uint8_t | brake_enabled |
| uint8_t | regen_enabled |
| uint8_t | precharge_complete |
| TickType_t | display_rx_medium_last_start |
Data for the display, CAN RX or internal.
| int16_t aux_current |
Auxiliary bus current (mA)
| int16_t aux_voltage |
Auxiliary bus voltage (mV)
| uint16_t bps_fault |
BPS fault bitfield
| uint8_t bps_fault_cell |
BPS fault cell number (if it exists)
| BpsFaultData bps_fault_data |
Fault detail snapshot from bps_fault_info CAN signal
| bool bps_fault_live |
TRUE if the fault is live (blocks drive); FALSE for a fault restored from flash
| uint8_t brake_percentage |
Brake percentage, from (0, 100)
| uint16_t cell_voltages[36] |
Battery percentage from 0-100, two decimal points of precision All cell voltages
| int16_t dcdc_current |
DC/DC or PCS bus current (mA)
| int16_t dcdc_voltage |
DC/DC or PCS bus voltage (mV)
| float energy_used_wh |
Net energy drawn from the pack since power-on (Wh), integrated on the display
| uint16_t max_cell_temp |
Maximum cell temperature reading (C)
| uint16_t max_cell_voltage_mv |
Maximum cell voltage reading (mV)
| uint16_t min_cell_voltage_mv |
Minimum cell voltage reading (mV)
| float pack_current |
Pack current reading (A), signed (regen negative)
| float pack_voltage |
Pack voltage reading (V)
| uint8_t pedal_percentage |
Pedal percentage, from (0, 100)
| uint16_t thermistor_temp_c[NUMBER_OF_THERMISTORS] |
AFE thermistor temperatures (whole degrees C) from the AFE_temperature message
| int16_t vehicle_velocity |
Velocity of the vehicle in kph