@@ -2,7 +2,7 @@ The `SensorManager` component manages all the sensors connected to the board.
Sensors are periodically sampled and their corresponding callback is called, so that further operations can be performed on the retrieved data.
# Main Elements
## Main Elements
### Sensor Sampler
...
...
@@ -28,7 +28,7 @@ The sensor will be added only if both the initialization and the test succeed.
When `start()` is called, the `SensorManager` initializes the `TaskScheduler`: for each `SensorSampler`, it adds to the scheduler the `sampleAndCallback()` method to be called periodically according to the sampler's frequency.
# Component Behavior
## Component Behavior
It might seem tricky and complex, so in order to simplify the understanding we can schematize the component's behavior.
For simplicity, each arrow in the diagram describes an action and reports the phase number that action belongs to (according to the above defined phases).