Skip to content

Branch offsets#335

Open
kujo27 wants to merge 13 commits intomainfrom
BranchOffsets
Open

Branch offsets#335
kujo27 wants to merge 13 commits intomainfrom
BranchOffsets

Conversation

@kujo27
Copy link
Copy Markdown
Contributor

@kujo27 kujo27 commented Mar 29, 2025

Why are we doing this?

Allows us to have specific horizontal branch offsets
Asana task URL:

Whats changing?

auto elastic layout, OperatorCommandMap, AlignCameraToAprilTagCalculator

Questions/notes for reviewers

How this was tested

  • tested on robot
  • tested in simulator
  • unit tests added

Video/screenshots (from simulator or live robot)


PR feedback legend

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

@kujo27 kujo27 requested review from a team, Rongrrz and anthonytrenh as code owners March 29, 2025 17:34

if (aprilTagData.isPresent()) {
lastKnownHorizontalErrorMeters = aprilTagData.get().getY() + getHorizontalTrimAdjustmentMeters();
lastKnownHorizontalErrorMeters = aprilTagData.get().getY() + getHorizontalTrimAdjustmentMeters() + branchOffsetMeters;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⭐ ⭐ is this really the only place we need to update? I thought there was at least 1 other spot getHorizontalTrimAdjustmentMeters() was being called

Copy link
Copy Markdown
Contributor Author

@kujo27 kujo27 Mar 29, 2025

Choose a reason for hiding this comment

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

It was being called when creating the alignmentPointOffset (Translation2d) but I have updated it as well.

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