Add imu range setting

This commit is contained in:
kalman
2018-11-20 15:23:07 +08:00
parent 6d39773439
commit ee19a8c857
9 changed files with 147 additions and 8 deletions

View File

@@ -195,6 +195,18 @@ enum class Option : std::uint8_t {
ZERO_DRIFT_CALIBRATION,
/** Erase chip */
ERASE_CHIP,
/**
* The range of accelerometer
*
* values: {4,8,16,32}, default: 8
*/
ACCELEROMETER_RANGE,
/**
* The range of gyroscope
*
* values: {500,1000,2000,4000}, default: 1000
*/
GYROSCOPE_RANGE,
/** Last guard */
LAST
};