![]() |
Doly C++ SDK v1.00
|
Functions | |
| int8_t | readSettings () |
| Read default settings from the platform settings file. | |
| int8_t | getImuOffsets (int16_t &gx, int16_t &gy, int16_t &gz, int16_t &ax, int16_t &ay, int16_t &az) |
| Retrieve IMU calibration offsets (gyro/accel). | |
| int8_t | stopDolyService () |
| Stop the background Doly service (if running). | |
| int8_t Helper::getImuOffsets | ( | int16_t & | gx, |
| int16_t & | gy, | ||
| int16_t & | gz, | ||
| int16_t & | ax, | ||
| int16_t & | ay, | ||
| int16_t & | az ) |
Retrieve IMU calibration offsets (gyro/accel).
Reads previously stored IMU offset values. These offsets are typically passed into DriveControl::init(...) to start with calibrated parameters.
| [out] | gx | Gyro X offset. |
| [out] | gy | Gyro Y offset. |
| [out] | gz | Gyro Z offset. |
| [out] | ax | Accel X offset. |
| [out] | ay | Accel Y offset. |
| [out] | az | Accel Z offset. |
| int8_t Helper::readSettings | ( | ) |
Read default settings from the platform settings file.
This is commonly used to load calibration/config values that the SDK uses at runtime.
| int8_t Helper::stopDolyService | ( | ) |
Stop the background Doly service (if running).
Some applications/tests may need exclusive access to hardware resources owned by the service. This helper provides a unified method to request stopping it.