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

Auto pickup #6

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open

Auto pickup #6

wants to merge 32 commits into from

Conversation

Lwannebo5476
Copy link
Contributor

Auto Game Piece Pickup Step

Uses arm, roller claw, and cube intake subsystems.

Two modes for picking up cubes and cones. Different settings to put arm/cube intake into position for intaking game piece vs. returning arm/cube intake to stow position after driving forwards to collect piece.

Not tested.

Copy link
Contributor

@Zaque2 Zaque2 left a comment

Choose a reason for hiding this comment

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

Just one minor change, looks good otherwise!

Arm.AutoPosition("Stow");
}
}
this.setFinished();
Copy link
Contributor

Choose a reason for hiding this comment

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

This call needs to be wrapped by if(Arm.isAtTarget()){...}, otherwise the auto will move onto the next step the first time this step is called, rather than waiting until the arm is positioned. We can talk a little bit more about how the auto step actually works in general and how update() is called tonight, I think I can clear things up a little bit.

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.

2 participants