Skip to content

Commit

Permalink
[IMU] Fix old copy paste mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
CTCaer authored Apr 17, 2018
1 parent 836a69d commit 1a61093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imu_sensor_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,15 @@ Based on these we can conclude on the final equation:

Then we use the coefficient to convert the value into degrees°/s (SI: 0.01745 rad/s):

`acc_vector_component = (acc_raw_component - uint16_to_int16(cal_gyro_offset)) * acc_coeff`
`gyro_vector_component = (gyro_raw_component - uint16_to_int16(cal_gyro_offset)) * gyro_cal_coeff`

Here, unlike acceleration, the origin position is indeed the still position and not a scaling value. So it must be also used in the unit calculation, in addition to coeffition.

### Gyroscope - Rotation (in revolutions/s)

The equation will become:

`acc_vector_component = (acc_raw_component - uint16_to_int16(cal_gyro_offset)) * acc_coeff * 0.0027777778`
`gyro_vector_component = (gyro_raw_component - uint16_to_int16(cal_gyro_offset)) * gyro_cal_coeff * 0.0027777778`

## Noise level range for each sensitivity configuration

Expand Down

0 comments on commit 1a61093

Please sign in to comment.