1#ifndef __DRIVEBRAINETHINTERFACE_H__
2#define __DRIVEBRAINETHINTERFACE_H__
3#include "hytech_msgs.pb.h"
14 void receive_pb_msg(
const hytech_msgs_MCUCommandData &msg_in,
unsigned long curr_millis);
hytech_msgs_MCUOutputData make_db_msg(const SharedCarState_s &shared_state)
DrivebrainData_s get_latest_data()
void receive_pb_msg(const hytech_msgs_MCUCommandData &msg_in, unsigned long curr_millis)
DrivebrainData_s _latest_data
int64_t last_receive_time_millis
the latest time that the MCU received a message w.r.t the current tick's millis
int64_t DB_prev_MCU_recv_millis
the latest MCU last_receive_time_millis that the drivebrain received
car state struct that contains state of everything about the car including