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

Climb new #8

Merged
merged 3 commits into from
Feb 14, 2025
Merged

Climb new #8

merged 3 commits into from
Feb 14, 2025

Conversation

lamatsering1
Copy link
Contributor

No description provided.

public Command toclimb(){
return Commands.beforeStarting(intakePivot.pulleySystemCmd())
.andThen(climb.pulleySystemCmd())
.andThen(climb.stopMotors());
Copy link
Contributor

Choose a reason for hiding this comment

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

@chloej80 @lamatsering1
btw, there's also a section on command composition in the wpilib documentation: https://docs.wpilib.org/en/stable/docs/software/commandbased/command-compositions.html
I highly recommend you read through all of it

followerConfig = new SparkMaxConfig();
followerConfig.idleMode(IdleMode.kBrake);
followerConfig.inverted(true);
follower.configure(followerConfig, ResetMode.kNoResetSafeParameters, PersistMode.kNoPersistParameters);
Copy link
Contributor

Choose a reason for hiding this comment

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

we might need to change this later, since the tank drive was having issues with this kind of configuration (we solved that by using global configs) but for now this is good!

@aliceleu aliceleu merged commit 4650d89 into main Feb 14, 2025
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.

4 participants