From 8ba091a1bf3c501e923a8276a883cc8293958043 Mon Sep 17 00:00:00 2001 From: Aapo Torkkeli <aamato@utu.fi> Date: Tue, 12 Nov 2019 21:34:19 +0200 Subject: [PATCH] Increase accel frequency --- project/imu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/imu.c b/project/imu.c index 6611384..1c8df9c 100644 --- a/project/imu.c +++ b/project/imu.c @@ -323,7 +323,7 @@ int8_t sensor_config() { rslt = bmi160_init(&sensor); // Configure the accelerometer's sampling freq, range and modes - sensor.accel_cfg.odr = BMI160_ACCEL_ODR_100HZ; + sensor.accel_cfg.odr = BMI160_ACCEL_ODR_800HZ; sensor.accel_cfg.range = BMI160_ACCEL_RANGE_8G; sensor.accel_cfg.bw = BMI160_ACCEL_BW_NORMAL_AVG4; sensor.accel_cfg.power = BMI160_ACCEL_NORMAL_MODE; -- GitLab