Skip to content

Commit e05f81d

Browse files
committed
update readme
1 parent 7787089 commit e05f81d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/velocity/velocity.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
This sketch shows to integrate accelerartion to obtain an estimate of velocity
2+
This sketch shows to integrate acceleration to obtain an estimate of velocity
33
*/
44

55
/* NOTE: The accelerometer MUST be calibrated to integrate its output. Adjust the
@@ -32,8 +32,8 @@ basicMPU6050<LP_FILTER, GYRO_SENS, ACCEL_SENS, ADDRESS_A0,
3232
accIntegral fusion;
3333
// Unit
3434
constexpr float GRAVITY = 9.81e3; // mm/s^2 Magnitude of gravity at rest. Determines units of velocity.
35-
constexpr float SD_ACC = 200; // mm/s^2 Standard deviation of acceleration. Deviations from zero within this band are suppressed
36-
constexpr float SD_VEL = 200; // mm/s Standard deviation of velocity. Deviations from the target value within this band are suppressed
35+
constexpr float SD_ACC = 200; // mm/s^2 Standard deviation of acceleration. Deviations from zero are suppressed
36+
constexpr float SD_VEL = 200; // mm/s Standard deviation of velocity. Deviations from target value are suppressed
3737

3838
void setup() {
3939
Serial.begin(38400);

0 commit comments

Comments
 (0)