Skip to content

Commit 4333923

Browse files
committed
recalibrate intake setpoint for new stop
1 parent 26f83ff commit 4333923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/intake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class IntakeComponent:
2222
# Offset is measured in the vertical position
2323
VERTICAL_ENCODER_VALUE = 2.365140
2424
# magic offset the deployed angle by 4 degrees to limit damage inflicted on mechanism
25-
DEPLOYED_ANGLE = 1.282483 - VERTICAL_ENCODER_VALUE + math.pi / 2.0 + math.radians(4)
25+
DEPLOYED_ANGLE = 1.194348 - VERTICAL_ENCODER_VALUE + math.pi / 2.0 + math.radians(4)
2626
RETRACTED_ANGLE = 2.365140 - VERTICAL_ENCODER_VALUE + math.pi / 2.0
2727

2828
gear_ratio = 4.0 * 5.0 * (48.0 / 40.0)

0 commit comments

Comments
 (0)