Formula Student Electronics & Software
The code for the embedded software
|
#include "comm/communicator.hpp"
#include "debugUtils.hpp"
#include "embedded/digitalReceiver.hpp"
#include "embedded/digitalSender.hpp"
#include "enum_utils.hpp"
#include "logic/stateLogic.hpp"
#include "model/systemData.hpp"
#include "timings.hpp"
Go to the source code of this file.
Functions | |
void | setup () |
void | loop () |
Variables | |
SystemData | system_data |
Communicator | communicator = Communicator(&system_data) |
DigitalReceiver | digital_receiver |
DigitalSender | digital_sender = DigitalSender() |
ASState | as_state = ASState(&system_data, &communicator, &digital_sender) |
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 |
uint8_t | master_state_helper = static_cast<uint8_t>(15) |
uint8_t | checkup_state_helper = static_cast<uint8_t>(15) |
uint8_t | mission_helper = static_cast<uint8_t>(15) |
ASState as_state = ASState(&system_data, &communicator, &digital_sender) |
Communicator communicator = Communicator(&system_data) |
DigitalReceiver digital_receiver |
DigitalSender digital_sender = 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 system_data |