Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
OutputCoordinator Class Reference

#include <outputCoordinator.hpp>

Collaboration diagram for OutputCoordinator:
Collaboration graph

Public Member Functions

 OutputCoordinator (SystemData *system_data, Communicator *communicator, DigitalSender *digital_sender)
 
void init ()
 
void process (uint8_t current_master_state, uint8_t current_checkup_state)
 
void blink_emergency_led ()
 
void blink_driving_led ()
 
void enter_emergency_state ()
 ASSI LEDs blue flashing, sdc open and buzzer ringing.
 
void enter_manual_state ()
 Everything off, sdc closed.
 
void enter_off_state ()
 Everything off, sdc open.
 
void enter_ready_state ()
 ASSI yellow LED on, ebs valves activated, sdc closed.
 
void enter_driving_state ()
 ASSI LEDs yellow flashing, ebs valves deactivated, sdc closed.
 
void enter_finish_state ()
 ASSI blue LED on, ebs valves activated, sdc open.
 

Detailed Description

Definition at line 12 of file outputCoordinator.hpp.

Constructor & Destructor Documentation

◆ OutputCoordinator()

OutputCoordinator::OutputCoordinator ( SystemData system_data,
Communicator communicator,
DigitalSender digital_sender 
)
inline

Definition at line 29 of file outputCoordinator.hpp.

Member Function Documentation

◆ blink_driving_led()

void OutputCoordinator::blink_driving_led ( )
inline

Definition at line 66 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ blink_emergency_led()

void OutputCoordinator::blink_emergency_led ( )
inline

Definition at line 60 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enter_driving_state()

void OutputCoordinator::enter_driving_state ( )
inline

ASSI LEDs yellow flashing, ebs valves deactivated, sdc closed.

Definition at line 113 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enter_emergency_state()

void OutputCoordinator::enter_emergency_state ( )
inline

ASSI LEDs blue flashing, sdc open and buzzer ringing.

Definition at line 75 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enter_finish_state()

void OutputCoordinator::enter_finish_state ( )
inline

ASSI blue LED on, ebs valves activated, sdc open.

Definition at line 123 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enter_manual_state()

void OutputCoordinator::enter_manual_state ( )
inline

Everything off, sdc closed.

Definition at line 85 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enter_off_state()

void OutputCoordinator::enter_off_state ( )
inline

Everything off, sdc open.

Definition at line 94 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enter_ready_state()

void OutputCoordinator::enter_ready_state ( )
inline

ASSI yellow LED on, ebs valves activated, sdc closed.

Definition at line 103 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void OutputCoordinator::init ( )
inline

Definition at line 40 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process()

void OutputCoordinator::process ( uint8_t  current_master_state,
uint8_t  current_checkup_state 
)
inline

Definition at line 46 of file outputCoordinator.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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