... | ... | @@ -48,6 +48,10 @@ When `start()` is called, the `SensorManager` initializes the `TaskScheduler`: f |
|
|
# Overall Behavior
|
|
|
It might seem tricky and complex, so in order to simplify the understanding we can schematize the component's behavior.
|
|
|
|
|
|
### Flowchart
|
|
|
|
|
|
TODO
|
|
|
|
|
|
We outline three phases:
|
|
|
1. In the first phase sensors are added to the `SensorManager`, that assigns them to the correct `SensorSampler`, along with the corresponding callback.
|
|
|
2. When the `SensorManager` is started, for each sampler it schedules a periodic task, according to the required frequency.
|
... | ... | |