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

Climb logic -> Main (#97) #98

Merged
merged 9 commits into from
Feb 1, 2024
Merged

Climb logic -> Main (#97) #98

merged 9 commits into from
Feb 1, 2024

Conversation

GalexY727
Copy link
Member

Rather than using three preset positions for the robot to have the climb prepare for, why not make it the whole chain?
Preview:
AdvantageScope_kQbDVDG1vH
AdvantageScope_Vl7oTI1SKS

Closes #97

@GalexY727 GalexY727 added enhancement New feature or request teleop Something that needs to get done for the Teleop period of the match labels Jan 31, 2024
@GalexY727 GalexY727 requested a review from RudyG252 January 31, 2024 08:31
@GalexY727 GalexY727 self-assigned this Jan 31, 2024
@GalexY727 GalexY727 linked an issue Jan 31, 2024 that may be closed by this pull request
1 task
@GalexY727 GalexY727 mentioned this pull request Jan 31, 2024
5 tasks
Copy link
Contributor

@RudyG252 RudyG252 left a comment

Choose a reason for hiding this comment

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

Looks good, didn't look too much into the math but it looks simple and I trust you on that :D. One small thing, the change with starting index and ending index with checking which alliance we're on seems redundant. Why don't we just find the nearest chain to us without worrying about that?

@GalexY727
Copy link
Member Author

Why don't we just find the nearest chain to us without worrying about that?

Yeah. I thought about this. It's only calculating three values, so I don't know if it's worth it.

@GalexY727
Copy link
Member Author

This merge also contains some formatting fixes

@GalexY727 GalexY727 requested a review from Jacob1010-h February 1, 2024 10:05
@GalexY727 GalexY727 changed the title Chain mapping -> Main (#97) Chain logic -> Main (#97) Feb 1, 2024
@GalexY727 GalexY727 changed the title Chain logic -> Main (#97) Climb logic -> Main (#97) Feb 1, 2024

public class PoseCalculations {
public class PoseCalculations implements Logged {
Copy link
Member

Choose a reason for hiding this comment

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

this doesn't need to be here anymore

@Jacob1010-h Jacob1010-h merged commit c441080 into main Feb 1, 2024
1 check passed
@Jacob1010-h Jacob1010-h deleted the 97-chain-equation branch February 1, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request teleop Something that needs to get done for the Teleop period of the match
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Equation for chain to use when climbing
3 participants