Skip to content

Commit

Permalink
feed tolerance increase
Browse files Browse the repository at this point in the history
  • Loading branch information
Inspirol committed Apr 11, 2024
1 parent ae0be6e commit 0d5b7df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions command/drivetrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ def execute(self) -> None:

self.theta_controller.setTolerance(
self.target_calc.get_shot_pos_tolerance()
if self.target == DriveSwerveAim.Target.speaker
else config.drivetrain_feed_tolerance
)

dx, dy = (
Expand Down
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ class LimelightPosition:
min_drivetrain_tolerance: degrees = 1
max_drivetrain_tolerance: degrees = 13
drivetrain_static_tolerance_offset: degrees = 1
drivetrain_feed_tolerance: degrees = 5



Expand Down

0 comments on commit 0d5b7df

Please sign in to comment.