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

Implement Bumper-triggered automated cone pickup #23

Open
pdxaeroman opened this issue Nov 4, 2022 · 4 comments
Open

Implement Bumper-triggered automated cone pickup #23

pdxaeroman opened this issue Nov 4, 2022 · 4 comments
Labels
Auto Control When the robot drives itself Driver Control These are for TeleOp modes good first issue Good for newcomers Software
Milestone

Comments

@pdxaeroman
Copy link
Contributor

When both of the robot's bumper sensors contact a wall, have the claw close and lift very quickly. We will use this feature to pick up from cone stacks by simply slamming into the wall.

@pdxaeroman pdxaeroman added Auto Control When the robot drives itself Driver Control These are for TeleOp modes Software good first issue Good for newcomers labels Nov 4, 2022
@pdxaeroman pdxaeroman added this to the Meet 1 milestone Nov 4, 2022
@pdxaeroman
Copy link
Contributor Author

pdxaeroman commented Nov 10, 2022

bumperDebouncer = new Debouncer();

if (bumperDebouncer.isPressed(bumperLeft && bumperRight)) {
robot.grabber.close();
robot.lift.setPosition(500); //not async, not competitive
}

@pdxaeroman
Copy link
Contributor Author

Can this be considered completed or is there more to do?

@lukasmwerner
Copy link
Contributor

lets close this. looks great! Maybe once we get 180 turn done we should add it later. but looks great!

@pdxaeroman
Copy link
Contributor Author

Reopening because it sounds like this isn't working/could be improved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto Control When the robot drives itself Driver Control These are for TeleOp modes good first issue Good for newcomers Software
Projects
None yet
Development

No branches or pull requests

2 participants