MCU
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SharedCarState_s Struct Reference

car state struct that contains state of everything about the car including More...

#include <SharedDataTypes.h>

Collaboration diagram for SharedCarState_s:
Collaboration graph

Public Member Functions

 SharedCarState_s ()=delete
 
 SharedCarState_s (const SysTick_s &_systick, const SteeringSystemData_s &_steering_data, const DrivetrainDynamicReport_s &_drivetrain_data, const LoadCellInterfaceOutput_s &_loadcell_data, const PedalsSystemData_s &_pedals_data, const VectornavData_s &_vn_data, const DrivebrainData_s &_db_data, const TorqueControllerMuxStatus &_tc_mux_status)
 
 SharedCarState_s (const SysTick_s &_systick, const SteeringSystemData_s &_steering_data, const DrivetrainDynamicReport_s &_drivetrain_data, const LoadCellInterfaceOutput_s &_loadcell_data, const LoadCellInterfaceRawOutput_s &_raw_loadcell_data, const PedalsSystemData_s &_pedals_data, const VectornavData_s &_vn_data, const DrivebrainData_s &_db_data, const TorqueControllerMuxStatus &_tc_mux_status, bool _drivebrain_timing_failure)
 

Public Attributes

SysTick_s systick
 
SteeringSystemData_s steering_data
 
DrivetrainDynamicReport_s drivetrain_data
 
LoadCellInterfaceOutput_s loadcell_data
 
LoadCellInterfaceRawOutput_s raw_loadcell_data
 
PedalsSystemData_s pedals_data
 
VectornavData_s vn_data
 
DrivebrainData_s db_data
 
TorqueControllerMuxStatus tc_mux_status
 
bool drivebrain_timing_failure = false
 

Detailed Description

car state struct that contains state of everything about the car including

Definition at line 148 of file SharedDataTypes.h.

Constructor & Destructor Documentation

◆ SharedCarState_s() [1/3]

SharedCarState_s::SharedCarState_s ( )
delete

◆ SharedCarState_s() [2/3]

SharedCarState_s::SharedCarState_s ( const SysTick_s &  _systick,
const SteeringSystemData_s _steering_data,
const DrivetrainDynamicReport_s _drivetrain_data,
const LoadCellInterfaceOutput_s _loadcell_data,
const PedalsSystemData_s _pedals_data,
const VectornavData_s _vn_data,
const DrivebrainData_s _db_data,
const TorqueControllerMuxStatus _tc_mux_status 
)
inline

Definition at line 162 of file SharedDataTypes.h.

170 : systick(_systick),
171 steering_data(_steering_data),
172 drivetrain_data(_drivetrain_data),
173 loadcell_data(_loadcell_data),
175 pedals_data(_pedals_data),
176 vn_data(_vn_data),
177 db_data(_db_data),
178 tc_mux_status(_tc_mux_status)
179 {
180 // constructor body (if needed)
181 }
SteeringSystemData_s steering_data
LoadCellInterfaceOutput_s loadcell_data
PedalsSystemData_s pedals_data
DrivebrainData_s db_data
DrivetrainDynamicReport_s drivetrain_data
LoadCellInterfaceRawOutput_s raw_loadcell_data
VectornavData_s vn_data
TorqueControllerMuxStatus tc_mux_status

◆ SharedCarState_s() [3/3]

SharedCarState_s::SharedCarState_s ( const SysTick_s &  _systick,
const SteeringSystemData_s _steering_data,
const DrivetrainDynamicReport_s _drivetrain_data,
const LoadCellInterfaceOutput_s _loadcell_data,
const LoadCellInterfaceRawOutput_s _raw_loadcell_data,
const PedalsSystemData_s _pedals_data,
const VectornavData_s _vn_data,
const DrivebrainData_s _db_data,
const TorqueControllerMuxStatus _tc_mux_status,
bool  _drivebrain_timing_failure 
)
inline

Definition at line 182 of file SharedDataTypes.h.

192 : systick(_systick),
193 steering_data(_steering_data),
194 drivetrain_data(_drivetrain_data),
195 loadcell_data(_loadcell_data),
196 raw_loadcell_data(_raw_loadcell_data),
197 pedals_data(_pedals_data),
198 vn_data(_vn_data),
199 db_data(_db_data),
200 tc_mux_status(_tc_mux_status),
201 drivebrain_timing_failure(_drivebrain_timing_failure)
202 {
203 // constructor body (if needed)
204 }

Member Data Documentation

◆ db_data

DrivebrainData_s SharedCarState_s::db_data

Definition at line 158 of file SharedDataTypes.h.

◆ drivebrain_timing_failure

bool SharedCarState_s::drivebrain_timing_failure = false

Definition at line 160 of file SharedDataTypes.h.

◆ drivetrain_data

DrivetrainDynamicReport_s SharedCarState_s::drivetrain_data

Definition at line 153 of file SharedDataTypes.h.

◆ loadcell_data

LoadCellInterfaceOutput_s SharedCarState_s::loadcell_data

Definition at line 154 of file SharedDataTypes.h.

◆ pedals_data

PedalsSystemData_s SharedCarState_s::pedals_data

Definition at line 156 of file SharedDataTypes.h.

◆ raw_loadcell_data

LoadCellInterfaceRawOutput_s SharedCarState_s::raw_loadcell_data

Definition at line 155 of file SharedDataTypes.h.

◆ steering_data

SteeringSystemData_s SharedCarState_s::steering_data

Definition at line 152 of file SharedDataTypes.h.

◆ systick

SysTick_s SharedCarState_s::systick

Definition at line 151 of file SharedDataTypes.h.

◆ tc_mux_status

TorqueControllerMuxStatus SharedCarState_s::tc_mux_status

Definition at line 159 of file SharedDataTypes.h.

◆ vn_data

VectornavData_s SharedCarState_s::vn_data

Definition at line 157 of file SharedDataTypes.h.


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