Skip to content

Commit

Permalink
[chore] update API
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerQi committed Jun 15, 2023
1 parent 59eb472 commit 9696c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Aiming/Aim.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def posterior_calibration(self, raw_pitch, raw_yaw, target_y_dist, target_z_dist
target_yaw = raw_yaw

# Gravity calibration
pitch_diff = calibrate_pitch_gravity(target_z_dist, target_y_dist)
pitch_diff = calibrate_pitch_gravity(self.CFG, target_z_dist, target_y_dist)
target_pitch -= pitch_diff

return (target_pitch, target_yaw)
Expand Down

0 comments on commit 9696c67

Please sign in to comment.