Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant