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

swerve drive docstrings #5

Merged
merged 26 commits into from
Oct 29, 2024
Merged

swerve drive docstrings #5

merged 26 commits into from
Oct 29, 2024

Conversation

Ishan1522
Copy link
Member

No description provided.

@Ishan1522 Ishan1522 requested a review from JacksonElia October 28, 2024 22:29
public static final long BUILD_UNIX_TIME = 1730052644497L;
public static final int DIRTY = 1;
public static final int GIT_REVISION = 25;
public static final String GIT_SHA = "3b5012c7524895e7c511a707a351c6a1f9225018";
Copy link
Member

Choose a reason for hiding this comment

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

what is this

Copy link
Member Author

Choose a reason for hiding this comment

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

The commit id I believe; it is automatically generated when built

@@ -55,6 +53,11 @@ public void calculatePoseFromLimelight(int limelightNumber) {

double distanceFromClosestAprilTag = vision.getLimelightAprilTagDistance(limelightNumber);

// Depending on how many april tags we see, we change our confidence as more april tags
// results in a much more accurate pose estimate
// TODO: check if this is necessary anymore with MT2, also we might want to set the limelight
Copy link
Member Author

Choose a reason for hiding this comment

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

check if what is necessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

// results in a much more accurate pose estimate
// TODO: check if this is necessary anymore with MT2, also we might want to set the limelight
// so it only uses 1 april tag, if they set up the field wrong (they can set april tags +-1 inch I believe)
// using multiple *could* really mess things up.
Copy link
Member Author

Choose a reason for hiding this comment

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

nope. see image
CAD973F1-AAA1-4D48-8738-D2BADC7D0FF4
from here.

… swerve code a bit. this boutta break the code
@Ishan1522 Ishan1522 merged commit 52fbf88 into main Oct 29, 2024
8 checks passed
@Ishan1522 Ishan1522 deleted the docs branch October 30, 2024 14:50
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