Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full functional #138

Merged
merged 11 commits into from
May 11, 2024
Merged

Full functional #138

merged 11 commits into from
May 11, 2024

Conversation

ACat701
Copy link
Contributor

@ACat701 ACat701 commented May 11, 2024

  • Hood and Shooter still aren't functional
  • Turret only has manual movement

@Alenguye582 Alenguye582 marked this pull request as ready for review May 11, 2024 19:07
@Alenguye582 Alenguye582 requested a review from a team as a code owner May 11, 2024 19:07
@Alenguye582 Alenguye582 enabled auto-merge (squash) May 11, 2024 19:07
Comment on lines 149 to 162
conOperator.POV_North
.onTrue(Commands.runOnce(() -> subShooter.setGoalSpeed(prefPreset.presetFenderShooterSpeed)))
// .onTrue(Commands.runOnce(() ->
// subShooter.setGoalSpeed(prefPreset.presetFenderShooterSpeed)))
.onTrue(Commands.runOnce(() -> subHood.setAngle(prefPreset.presetFenderHoodDegrees)));

conOperator.POV_South
.onTrue(Commands.runOnce(() -> subShooter.setGoalSpeed(prefPreset.presetLaunchpadShooterSpeed)))
// .onTrue(Commands.runOnce(() ->
// subShooter.setGoalSpeed(prefPreset.presetLaunchpadShooterSpeed)))
.onTrue(Commands.runOnce(() -> subHood.setAngle(prefPreset.presetLaunchpadHoodDegrees)));

conOperator.POV_West
.onTrue(Commands.runOnce(() -> subShooter.setGoalSpeed(prefPreset.presetTarmacShooterSpeed)))
// .onTrue(Commands.runOnce(() ->
// subShooter.setGoalSpeed(prefPreset.presetTarmacShooterSpeed)))
.onTrue(Commands.runOnce(() -> subHood.setAngle(prefPreset.presetTarmacHoodDegrees)));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove hood presets in another PR

Comment on lines +112 to +115
public static final SN_DoublePreference shooterF = new SN_DoublePreference("shooterF", 0);
public static final SN_DoublePreference shooterP = new SN_DoublePreference("shooterP", 1);
public static final SN_DoublePreference shooterI = new SN_DoublePreference("shooterI", 0);
public static final SN_DoublePreference shooterD = new SN_DoublePreference("shooterD", 0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these being used anywhere?

@Alenguye582 Alenguye582 merged commit de9528e into main May 11, 2024
1 check passed
@Alenguye582 Alenguye582 deleted the full-functional branch May 11, 2024 20:22
This was referenced May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants