-
Notifications
You must be signed in to change notification settings - Fork 0
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
Command groups #33
base: master
Are you sure you want to change the base?
Command groups #33
Conversation
� Conflicts: � src/main/java/frc/robot/commands/ExtendedAlgaeArm.java � src/main/java/frc/robot/commands/RetractAlgaeArm.java � src/main/java/frc/robot/subsystems/AlgaeArm.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one more thing
if(coralElevator.isRaised()){ | ||
return new LowerCoralElevator(coralElevator); | ||
} | ||
return Commands.none(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, using none
isn't a good option, because this command will end immediately and then be restarted every 20 ms.
Use Commands.idle(coralElevator)
. This command won't end unless overridden.
No description provided.