Skip to content

Commit

Permalink
Merge pull request #189 from thedropbears/extra-lookup-point
Browse files Browse the repository at this point in the history
Add extra lookup point at 0 meters
  • Loading branch information
LucienMorey authored Mar 11, 2024
2 parents 7e46972 + e18eb12 commit f4beb9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/shooter.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ class ShooterComponent:
INCLINATOR_JETTISON_ANGLE = (MAX_INCLINE_ANGLE + MIN_INCLINE_ANGLE) / 2

# Add extra point outside our range to ramp speed down to zero
FLYWHEEL_DISTANCE_LOOKUP = (1.3, 2.0, 3.0, 4.0, 5.0, 7.0)
FLYWHEEL_DISTANCE_LOOKUP = (0, 1.3, 2.0, 3.0, 4.0, 5.0, 7.0)
FLYWHEEL_SPEED_LOOKUP = (
70,
70,
76,
76,
Expand All @@ -52,6 +53,7 @@ class ShooterComponent:
0,
)
FLYWHEEL_ANGLE_LOOKUP = (
0.96,
0.96,
0.80,
0.61,
Expand Down

0 comments on commit f4beb9a

Please sign in to comment.