Skip to content

Emily bottom arm#25

Open
emilycxliu wants to merge 26 commits intomainfrom
emily-arm
Open

Emily bottom arm#25
emilycxliu wants to merge 26 commits intomainfrom
emily-arm

Conversation

@emilycxliu
Copy link
Contributor

Finished bottom arm functionality- can be set to 90 and 80 degrees

if (SubsystemChecker.canSubsystemConstruct(SubsystemType.ArmSubsystem)) {
System.out.println("*****robotInit*****");
new WaitCommand(5).andThen(new SyncArmEncoders()).schedule();
//new WaitCommand(10).andThen(new CheckArmEncodersSync()).schedule();
Copy link
Collaborator

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();

Copy link
Contributor Author

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

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