![]() |
Doly C++ SDK v1.00
|
Public API for Doly edge/gap detection control (IR sensors). More...
Go to the source code of this file.
Namespaces | |
| namespace | EdgeControl |
Functions | |
| int8_t | EdgeControl::init () |
| Initialize edge sensor control. | |
| int8_t | EdgeControl::dispose () |
| Dispose edge sensor control and release resources. | |
| bool | EdgeControl::isActive () |
| Check whether edge sensor control is initialized and active. | |
| int8_t | EdgeControl::enableControl () |
| Start the sensor listening thread. | |
| int8_t | EdgeControl::disableControl () |
| Stop the sensor listening thread. | |
| std::vector< IrSensor > | EdgeControl::getSensors () |
| Get all IR sensor values. | |
| std::vector< IrSensor > | EdgeControl::getSensors (GpioState state) |
| Get IR sensors filtered by GPIO state. | |
| float | EdgeControl::getVersion () |
| Get current library version. | |
Public API for Doly edge/gap detection control (IR sensors).
EdgeControl provides access to IR edge sensors and gap detection. Typical update rate noted in the original header: ~21 Hz.
Design notes:
Threading notes: