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

Update sim vision system #31

Merged
merged 4 commits into from
Feb 1, 2025
Merged

Update sim vision system #31

merged 4 commits into from
Feb 1, 2025

Conversation

eljueves
Copy link
Contributor

Why are we doing this?

update VIsion subsystem AprilTagFieldLayout to 2025
and update photon lib venderdeps

Whats changing?

photonlib venderop json and aprilTagFieldLayout in VisionSubsystem

Questions/notes for reviewers

How this was tested

  • unit tests added
  • tested on robot

PR feedback legend

Symbol Meaning
⭐ ⭐ ⭐ must be addressed
⭐ ⭐ should be addressed
something to consider, a good idea

@eljueves eljueves requested a review from a team as a code owner January 25, 2025 07:03
@@ -13,7 +13,7 @@
{
"groupId": "org.photonvision",
"artifactId": "photontargeting-cpp",
"version": "v2025.0.0-beta-8",
Copy link
Contributor

Choose a reason for hiding this comment

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

⭐ ⭐ ⭐ there's also a photonlib.json inside the SeriouslyCommonLib submodule repo you'll need to update at the same time

Copy link
Contributor Author

Choose a reason for hiding this comment

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

just made this PR for SeriouslyCommonLib Team488/SeriouslyCommonLib#513

@@ -67,7 +67,7 @@ public VisionSubsystem(PropertyFactory pf, XCameraElectricalContract electricalC
// we need to handle cases like not having the AprilTag data loaded.

try {
aprilTagFieldLayout = AprilTagFieldLayout.loadFromResource(AprilTagFields.k2024Crescendo.m_resourceFile);
aprilTagFieldLayout = AprilTagFieldLayout.loadFromResource(AprilTagFields.k2025Reefscape.m_resourceFile);
Copy link
Contributor

Choose a reason for hiding this comment

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

The AprilTagVision stuff we copied in from Maple-sim-skeleton was using the 2025, this is some of our ported over vision code from 2024 that isn't being used yet

Copy link
Contributor Author

Choose a reason for hiding this comment

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

are you planning to eventually use this?

Copy link
Contributor

Choose a reason for hiding this comment

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

No current plans, the new maple skeleton stuff seems to be working well so far but maybe we have to revisit that later

@JohnGilb JohnGilb merged commit b0d38e5 into main Feb 1, 2025
1 check passed
@JohnGilb JohnGilb deleted the update_sim_vision_system branch February 1, 2025 19:16
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.

3 participants