Midnight Sun Firmware
Loading...
Searching...
No Matches
cc_steering

Storage class for cc_steering CAN message. More...

Public Member Functions

void decode (const uint8_t *data)
 Decode new CAN data and update the storage for cc_steering. More...
 
nlohmann::json to_json () const
 Create a JSON object for cc_steering using the storage.
 
std::string get_message_name () const
 Get the message name: cc_steering. More...
 

Public Attributes

uint8_t input_cc
 
uint8_t input_lights
 

Detailed Description

Storage class for cc_steering CAN message.

Member Function Documentation

◆ decode()

void decode ( const uint8_t *  data)
inline

Decode new CAN data and update the storage for cc_steering.

Parameters
dataPointer to the CAN message to be decoded

◆ get_message_name()

std::string get_message_name ( ) const
inline

Get the message name: cc_steering.

Returns
Returns the message name

Member Data Documentation

◆ input_cc

uint8_t input_cc

CAN signal 'input_cc' defined in *.yaml

◆ input_lights

uint8_t input_lights

CAN signal 'input_lights' defined in *.yaml


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