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

Alliance Side Poses #1

Closed
StarbuckBarista opened this issue Feb 6, 2024 · 1 comment
Closed

Alliance Side Poses #1

StarbuckBarista opened this issue Feb 6, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@StarbuckBarista
Copy link
Member

In order to drive from the controller, the heading will always be set to zero, which is rendered in WPILib poses as facing away from the blue alliance operator consoles. This orientation is not how the gyroscope will respond when on the red alliance, making the field orientation incorrect when transitioning from autonomous to teleoperated. With this issue, pose updates with AprilTags will also not work when on the red alliance.

@StarbuckBarista StarbuckBarista added the bug Something isn't working label Feb 6, 2024
@StarbuckBarista
Copy link
Member Author

Upon recreating the issue in simulation, some work was done in YAGSL/allianceOriented to try finding a solution by inverting the direction of translation and gyroscoping zeroing when on the red alliance. So far, this has seemed to work for both autonomous and teleoperated simulation, but will be physically tested later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants