Red Bird Racing VCU v2
 
Loading...
Searching...
No Matches
TelemetryFrameBms Struct Reference

Telemetry frame structure for the BMS data. More...

#include <CarState.hpp>

Collaboration diagram for TelemetryFrameBms:

Public Member Functions

constexpr can_frame toCanFrame () const
 Converts the TelemetryFrameBms to a CAN frame.
 

Public Attributes

uint8_t bms_data [8]
 

Detailed Description

Telemetry frame structure for the BMS data.

Definition at line 126 of file CarState.hpp.

Member Function Documentation

◆ toCanFrame()

constexpr can_frame TelemetryFrameBms::toCanFrame ( ) const
inlineconstexpr

Converts the TelemetryFrameBms to a CAN frame.

Returns
CAN frame representing the telemetry BMS data.

Definition at line 135 of file CarState.hpp.

References bms_data, and TELEMETRY_BMS_MSG.

Referenced by Telemetry::sendBms().

Here is the caller graph for this function:

Member Data Documentation

◆ bms_data

uint8_t TelemetryFrameBms::bms_data[8]

Raw BMS data bytes

Definition at line 129 of file CarState.hpp.

Referenced by toCanFrame().


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