18#pragma GCC diagnostic push
19#pragma GCC diagnostic ignored "-Wpedantic"
21#pragma GCC diagnostic pop
constexpr can_frame start_hv_msg
constexpr uint32_t BMS_COMMAND
constexpr uint32_t BMS_INFO_EXT
constexpr can_frame stop_hv_msg
constexpr uint32_t BMS_SEND_CMD
constexpr uint32_t BMS_INFO
Definition of the CarState structure representing the state of the car.
Declaration of the Scheduler class template, for scheduling tasks on multiple MCP2515 instances.
BMS class for managing the Accumulator (Kclear BMS) via CAN bus.
void checkHv()
Attempts to start HV. First check BMS is in standby(3) state, then send the HV start command....
void initFilter()
Initializes the CAN filters for reading BMS data. Call after constructing the BMS object and the MCP2...
bool hvReady() const
Returns true if HV has been started.
Represents the state of the car. Holds telemetry data and status, used as central data sharing struct...
TelemetryFramePedal pedal
struct TelemetryFramePedal::StateByteStatus::Bits bits