From ce76b16c078b4b32704dc005d2cb6469aeebd96c Mon Sep 17 00:00:00 2001 From: kalman Date: Tue, 27 Nov 2018 15:04:16 +0800 Subject: [PATCH] Fix imu_range bug --- samples/tutorials/control/imu_range.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/tutorials/control/imu_range.cc b/samples/tutorials/control/imu_range.cc index 0b0ba32..1830248 100644 --- a/samples/tutorials/control/imu_range.cc +++ b/samples/tutorials/control/imu_range.cc @@ -26,9 +26,9 @@ int main(int argc, char *argv[]) { if (!api) return 1; - // ACCELEROMETER_RANGE values: 4, 8, 16, 32 - api->SetOptionValue(Option::ACCELEROMETER_RANGE, 8); - // GYROSCOPE_RANGE values: 500, 1000, 2000, 4000 + // ACCELEROMETER_RANGE values: 6, 12, 24, 32 + api->SetOptionValue(Option::ACCELEROMETER_RANGE, 6); + // GYROSCOPE_RANGE values: 250, 500, 1000, 2000, 4000 api->SetOptionValue(Option::GYROSCOPE_RANGE, 1000); LOG(INFO) << "Set ACCELEROMETER_RANGE to "