We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c02aad commit 8ecec06Copy full SHA for 8ecec06
ut-robomaster/taproot/src/tap/communication/sensors/imu/bmi088/bmi088.hpp
@@ -121,7 +121,7 @@ class Bmi088 final_mockable : public Bmi088Data, public AbstractIMU
121
private:
122
Drivers *drivers;
123
124
- inline float getAccelerationSensitivity() const override { return ACC_G_PER_ACC_COUNT; }
+ inline float getAccelerationSensitivity() const override { return tap::algorithms::ACCELERATION_GRAVITY / ACC_G_PER_ACC_COUNT; }
125
126
static constexpr uint16_t RAW_TEMPERATURE_TO_APPLY_OFFSET = 1023;
127
/// Offset parsed temperature reading by this amount if > RAW_TEMPERATURE_TO_APPLY_OFFSET.
0 commit comments