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
Emily bottom arm #25
base: main
Are you sure you want to change the base?
Emily bottom arm #25
Conversation
if (SubsystemChecker.canSubsystemConstruct(SubsystemType.ArmSubsystem)) { | ||
System.out.println("*****robotInit*****"); | ||
new WaitCommand(5).andThen(new SyncArmEncoders()).schedule(); | ||
//new WaitCommand(10).andThen(new CheckArmEncodersSync()).schedule(); |
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.
Both commands require the ArmSubsystem and one of them is cancelling the other.
This will detach the requirement from the WaitCommand(10):
new WaitCommand(10).andThen(new ScheduleCommand(new CheckArmEncodersSync())).schedule();
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.
added that line, it works
Finished bottom arm functionality- can be set to 90 and 80 degrees