SAE Teensy ECU
IIT SAE Microcontroller programming
|
Name space used solely for front ECU logic. More...
Functions | |
void | blinkStart () |
void | run () |
Runs front ECU code. | |
void | loadStateMap () |
Load values that ID each unique state. | |
void | updateCurrentState () |
Update and outputs the current state. | |
void | updateStartLight (bool hasBeat) |
Update the startlight. | |
void | setChargeSignal () |
Enables the charging signal dependent on the current state. | |
void | lowPriorityValues () |
Outputs values that are of lower priority. | |
void | highPriorityValues () |
Outputs values that are of higher priority. | |
Variables | |
LOG_TAG | ID = "Front Teensy" |
SerialVar::SerialFloat | TVAggression = SERIALVAR_TORQUE_VECTORING_AGGRESSION |
struct State::State_t * | currentState |
std::map< uint32_t, struct State::State_t * > | stateMap |
Name space used solely for front ECU logic.
void Front::blinkStart | ( | ) |
Definition at line 65 of file src/front.cpp.
void Front::highPriorityValues | ( | ) |
Outputs values that are of higher priority.
Definition at line 157 of file FrontValues.cpp.
void Front::loadStateMap | ( | ) |
Load values that ID each unique state.
Definition at line 100 of file FrontValues.cpp.
void Front::lowPriorityValues | ( | ) |
Outputs values that are of lower priority.
Definition at line 130 of file FrontValues.cpp.
void Front::run | ( | ) |
Runs front ECU code.
Definition at line 72 of file src/front.cpp.
void Front::setChargeSignal | ( | ) |
Enables the charging signal dependent on the current state.
Definition at line 126 of file FrontValues.cpp.
void Front::updateCurrentState | ( | ) |
Update and outputs the current state.
Definition at line 109 of file FrontValues.cpp.
void Front::updateStartLight | ( | bool | hasBeat | ) |
Update the startlight.
hasBeat | Whether the heartbeat is working |
Definition at line 115 of file FrontValues.cpp.
struct State::State_t * Front::currentState |
Definition at line 98 of file FrontValues.cpp.
LOG_TAG Front::ID = "Front Teensy" |
Definition at line 15 of file src/front.cpp.
std::map<uint32_t, struct State::State_t *> Front::stateMap |
Definition at line 97 of file FrontValues.cpp.
SerialVar::SerialFloat Front::TVAggression = SERIALVAR_TORQUE_VECTORING_AGGRESSION |
Definition at line 22 of file src/front.cpp.