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

delete april tag positions array #83

Merged
merged 6 commits into from
Dec 2, 2024
Merged

delete april tag positions array #83

merged 6 commits into from
Dec 2, 2024

Conversation

Ishan1522
Copy link
Member

hello @JacksonElia plz review gracias

@Ishan1522
Copy link
Member Author

/format

@@ -71,8 +71,7 @@ public void updateInputs(VisionIOInputs inputs) {
public boolean canSeeAprilTags(int limelightNumber) {
// First checks if it can see an april tag, then checks if it is fully in frame
// Different Limelights have different FOVs
if (getNumberOfAprilTags(limelightNumber) > 0
&& getNumberOfAprilTags(limelightNumber) <= VisionConstants.APRIL_TAG_POSITIONS.length) {
if (getNumberOfAprilTags(limelightNumber) > 0 && getNumberOfAprilTags(limelightNumber) <= 16) {
Copy link
Member

Choose a reason for hiding this comment

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

Make a MAX_APRILTAG_ID constant

@Ishan1522
Copy link
Member Author

/format u stupid GitHub

@Ishan1522 Ishan1522 merged commit 23c692f into main Dec 2, 2024
8 checks passed
@Ishan1522 Ishan1522 deleted the epicness branch December 2, 2024 13:05
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