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

Minor fixes #123

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Minor fixes #123

wants to merge 3 commits into from

Conversation

legoguy1000
Copy link
Member

No description provided.

@legoguy1000 legoguy1000 marked this pull request as ready for review September 6, 2024 01:41
Comment on lines +127 to +128
State initalState = path0.getTrajectory(null, null).getInitialState();
Pose2d initialPose = FieldConstants.allianceFlip(initalState.getTargetHolonomicPose());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should work to allow us to not have to hardcode the 180 degrees. This exposes the actual value from Coreo.... If I remember properly

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like that'd be the case. Should run it in the shop on Monday to be sure.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My thought exactly

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

Successfully merging this pull request may close these issues.

2 participants