Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
main.cpp File Reference
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

void setup ()
 
void loop ()
 

Variables

SystemData systemData
 
Communicator communicator = Communicator(&systemData)
 
DigitalReceiver digitalReceiver = DigitalReceiver(&systemData.digitalData, &systemData.mission)
 
DigitalSender digitalSender = DigitalSender()
 
ASState as_state = ASState(&systemData, &communicator, &digitalSender)
 
Metro rl_rpm_timer = Metro{LEFT_WHEEL_PUBLISH_INTERVAL}
 
Metro mission_timer = Metro(MISSION_PUBLISH_INTERVAL)
 
Metro state_timer = Metro(STATE_PUBLISH_INTERVAL)
 
IntervalTimer state_calculation_timer
 

Function Documentation

◆ loop()

void loop ( )

Definition at line 37 of file main.cpp.

Here is the call graph for this function:

◆ setup()

void setup ( )

Definition at line 20 of file main.cpp.

Here is the call graph for this function:

Variable Documentation

◆ as_state

Definition at line 13 of file main.cpp.

◆ communicator

Definition at line 10 of file main.cpp.

◆ digitalReceiver

DigitalReceiver digitalReceiver = DigitalReceiver(&systemData.digitalData, &systemData.mission)

Definition at line 11 of file main.cpp.

◆ digitalSender

DigitalSender digitalSender = DigitalSender()

Definition at line 12 of file main.cpp.

◆ mission_timer

Definition at line 16 of file main.cpp.

◆ rl_rpm_timer

Definition at line 15 of file main.cpp.

◆ state_calculation_timer

IntervalTimer state_calculation_timer

Definition at line 18 of file main.cpp.

◆ state_timer

Definition at line 17 of file main.cpp.

◆ systemData

SystemData systemData

Definition at line 9 of file main.cpp.