Skip to content

Conversation

spacey-sooty
Copy link
Member

Description

Switch default tag family used in AprilTag pipeline. We already functionally changed the default in #1333 but since 2024 FIRST appears to have been using 36h11 so switching here seems to make sense as well.

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with settings back to v2025.3.2
  • If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated
  • If this PR addresses a bug, a regression test for it is added

Signed-off-by: Jade Turner <[email protected]>
@spacey-sooty spacey-sooty requested a review from a team as a code owner October 13, 2025 11:28
@github-actions github-actions bot added the backend Things relating to photon-core and photon-server label Oct 13, 2025
samfreund
samfreund previously approved these changes Oct 13, 2025
@mcm001
Copy link
Contributor

mcm001 commented Oct 13, 2025

I'm not sure this PR actually changes our behacior, does it?

@samfreund
Copy link
Member

I'm not sure this PR actually changes our behacior, does it?

It doesn't, it just makes it more clear what our default values are. Arguably it provides some optimization, but idt that's significant. This is more just a readability change, which imo is a good thing.

TargetModel tagModel = TargetModel.kAprilTag36h11;
if (settings.tagFamily == AprilTagFamily.kTag16h5) {
// 2023 tag, 6in
tagWidth = Units.inchesToMeters(6.5);
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be changed, I think

@samfreund samfreund dismissed their stale review October 13, 2025 14:27

Changes needed,

Copy link
Member

@samfreund samfreund left a comment

Choose a reason for hiding this comment

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

Fix the tests pls

@mcm001 mcm001 changed the title Invert AprilTag family default [NFC] Invert AprilTag family default Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants