|
EMBER 0.1
EMBER is a fire suppression system with a thermal IR camera for hot blob detection on a pan/tilt mechanism with a solenoid for commanded water flow.
|
State machine task that manages system operation modes. More...
Macros | |
| #define | CPP 17.5 |
| #define | WIDTH 32 |
| #define | HEIGHT 24 |
Functions | |
| void | task_stateMachine (void *p_params) |
| State machine task. | |
State machine task that manages system operation modes.
| void task_stateMachine | ( | void * | p_params | ) |
State machine task.
This task manages the different states of the system. State 0 is an initialization state which sets all shares to default. State 1 is a scanning state where the system looks back and forth for hot spots. State 2 is a tracking state where the system points the thermal camera and hose towards the detected hot spot and activates the spray mechanism. The task period is set to 100 ms.
| p_params | not used and should be set to void in the xTaskCreate call |