general: Fix various spelling errors

This commit is contained in:
Morph committed 2021-01-02 10:23:41 -05:00
1 parent 1ff341f3dc
commit a745d87971
20 files changed
+43 -43

No files matched your search

+1 -1
View File
@@ -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;