diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-01-02 09:00:05 -0500 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-01-02 10:23:41 -0500 |
commit | a745d87971b2c9795e1b2c587bfe30b849b522fa (patch) | |
tree | 61fb7dc24ebbf6e679deeba05278c5380cb35025 /src/input_common/motion_input.cpp | |
parent | 1ff341f3dc66622478d699d4e4ba21b210608783 (diff) |
general: Fix various spelling errors
Diffstat (limited to 'src/input_common/motion_input.cpp')
-rw-r--r-- | src/input_common/motion_input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/motion_input.cpp b/src/input_common/motion_input.cpp index f77ba535de..6a65f175e6 100644 --- a/src/input_common/motion_input.cpp +++ b/src/input_common/motion_input.cpp @@ -129,7 +129,7 @@ void MotionInput::UpdateOrientation(u64 elapsed_time) { rad_gyro += ki * integral_error; rad_gyro += kd * derivative_error; } else { - // Give more weight to acelerometer values to compensate for the lack of gyro + // Give more weight to accelerometer values to compensate for the lack of gyro rad_gyro += 35.0f * kp * real_error; rad_gyro += 10.0f * ki * integral_error; rad_gyro += 10.0f * kd * derivative_error; |