-
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
Auto pickup #6
base: main
Are you sure you want to change the base?
Auto pickup #6
Conversation
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.
Just one minor change, looks good otherwise!
Arm.AutoPosition("Stow"); | ||
} | ||
} | ||
this.setFinished(); |
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.
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.
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.