Formula Student Electronics & Software
The code for the embedded software
|
#include "model/systemData.hpp"
#include "comm/communicator.hpp"
#include "embedded/digitalReceiver.hpp"
#include "embedded/digitalSender.hpp"
#include "logic/stateLogic.hpp"
#include "timings.hpp"
#include "debugUtils.hpp"
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 |
ASState as_state = ASState(&systemData, &communicator, &digitalSender) |
Communicator communicator = Communicator(&systemData) |
DigitalReceiver digitalReceiver = DigitalReceiver(&systemData.digitalData, &systemData.mission) |
DigitalSender digitalSender = DigitalSender() |
Metro mission_timer = Metro(MISSION_PUBLISH_INTERVAL) |
Metro rl_rpm_timer = Metro{LEFT_WHEEL_PUBLISH_INTERVAL} |
Metro state_timer = Metro(STATE_PUBLISH_INTERVAL) |
SystemData systemData |