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

Intake tries to target zero inside frame #31

Open
KenwoodFox opened this issue Mar 28, 2024 · 0 comments
Open

Intake tries to target zero inside frame #31

KenwoodFox opened this issue Mar 28, 2024 · 0 comments

Comments

@KenwoodFox
Copy link
Member

Two ways to fix it

Improve the patch here (messy but requires no work)

if self.intakeSubsystem.getAngle() < 0:
# Prevents starting PID from a pose less than 0
self.intakeSubsystem.manualLift(0.1)
logging.warn("Intake angle is too inset in frame!")

Reset the zero on the encoder further into the frame than is possible to rotate to @NotSimon5673's suggestion

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

No branches or pull requests

1 participant