|
Boboter
|
#include "tasks.h"#include "helpers/delay.h"#include "lib/logger/logger.h"#include "include/robot.h"Namespaces | |
| namespace | Task |
| A namespace containing all the custom FreeRTOS tasks the robot uses. | |
Enumerations | |
| enum class | secure_task_state_t : uint8_t { OK = 0 , WAITING = 1 , ALERTING = 2 , SHUTDOWN = 3 } |
Functions | |
| void | Task::secure_task (void *params) |
Variables | |
| constexpr const char * | TAG = "Task::secure_task" |
| constexpr uint16_t | MIN_BATTERY_VOLTAGE = 3'300 |
| constexpr uint16_t | ALERT_DELAY = 1000 |
| constexpr uint16_t | SHUTDOWN_DELAY = 5000 |
|
strong |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |