Skip to content

Commit

Permalink
Update libraries/AP_InertialSensor/AP_InertialSensor.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator authored Feb 7, 2024
1 parent 8f2a2b8 commit 93ceb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_InertialSensor/AP_InertialSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ bool AP_InertialSensor::accels_consistent(float accel_error_threshold, uint8_t c
// get next accel vector
const Vector3f &accel_vec = get_accel(i);
Vector3f vec_diff = accel_vec - prime_accel_vec;
// allow for user-defined difference, typically 0.75 m/s/s. Has to pass in last 10 seconds
// allow for user-defined difference, threshold m/s/s. Has to pass in last consistent_time_sec seconds
float threshold = accel_error_threshold;
if (i >= 2) {
/*
Expand Down

0 comments on commit 93ceb66

Please sign in to comment.