Skip to content

Commit cf56536

Browse files
will reset to
1 parent f870e69 commit cf56536

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

components/injector.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
class InjectorComponent:
1111
desired_injector_voltage = will_reset_to(0.0)
12+
should_measure = will_reset_to(False)
1213

1314
INJECTOR_INJECT_VOLTAGE = tunable(12.0)
1415
INJECTOR_INTAKE_VOLTAGE = tunable(-2.0)
@@ -106,5 +107,3 @@ def execute(self) -> None:
106107
else:
107108
self.injector_1.setVoltage(self.desired_injector_voltage)
108109
self.injector_2.setVoltage(self.desired_injector_voltage)
109-
110-
self.should_measure = False

components/shooter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ShooterComponent:
2020
top_desired_flywheel_speed = will_reset_to(0.0)
2121
bottom_desired_flywheel_speed = will_reset_to(0.0)
2222

23-
FLYWHEEL_INTAKE_SPEED = tunable(-40.0)
23+
FLYWHEEL_INTAKE_SPEED = tunable(-20.0)
2424
FLYWHEEL_RPS_TOLERANCE = 1.0
2525
FLYWHEEL_RAMP_TIME = 1
2626
FLYWHEEL_GEAR_RATIO = 1 / (1.0 / 1.0)

0 commit comments

Comments
 (0)