Skip to content

AdvantageKit Vision#77

Merged
skrunked merged 7 commits into
devfrom
feature/vision-advantagekit
May 13, 2026
Merged

AdvantageKit Vision#77
skrunked merged 7 commits into
devfrom
feature/vision-advantagekit

Conversation

@skrunked
Copy link
Copy Markdown
Contributor

@skrunked skrunked commented May 6, 2026

Migrate from jank original VisionSystem to new AdvantageKit Vision template, along with other miscellaneous cleanup and an experiment with Claude. Closes #76.

  • Tested in Sim
  • Tested on Robot

@skrunked
Copy link
Copy Markdown
Contributor Author

skrunked commented May 6, 2026

Test on robot on Friday prior to going to WPI.

@skrunked skrunked changed the title Feature/vision-advantagekit AdvantageKit Vision May 6, 2026
@skrunked skrunked linked an issue May 6, 2026 that may be closed by this pull request
22 tasks
@skrunked skrunked marked this pull request as ready for review May 6, 2026 22:56
@skrunked
Copy link
Copy Markdown
Contributor Author

skrunked commented May 7, 2026

We could probably delete the CLAUDE.md prior to merging this, it wasn't actually very helpful.

@skrunked skrunked requested a review from rxgran May 12, 2026 21:03
@skrunked skrunked self-assigned this May 12, 2026
@skrunked skrunked requested a review from Aztechs157-Git May 12, 2026 21:04
@skrunked skrunked assigned Aztechs157-Git and unassigned skrunked May 12, 2026
Copy link
Copy Markdown
Contributor

@Aztechs157-Git Aztechs157-Git left a comment

Choose a reason for hiding this comment

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

mostly commenting

public static double[] cameraStdDevFactors =
new double[] {
1.0, // Camera 0
1.0, // Camera 1
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.

use camera names in comments rather than 0, 1 ,2

Comment thread src/main/java/org/team157/robot/Robot.java
Comment thread src/main/java/org/team157/robot/Robot.java
@Override
public void disabledInit() {
m_robotContainer.visionSystem.updatePoseEstimation(RobotContainer.drive);
RobotContainer.vision.updateAlliance();
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.

If we update in auto and tele init, do we care about updating when we disable?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, actually! Removed in 44e3de9

public static Drive drive;
public final Turret turret = new Turret();
public final VisionSystem visionSystem;
// public final VisionSystem visionSystem;
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.

Remove

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed in 44e3de9

@skrunked skrunked mentioned this pull request May 12, 2026
21 tasks
@skrunked skrunked requested a review from Aztechs157-Git May 12, 2026 23:22
@skrunked skrunked merged commit d6fda61 into dev May 13, 2026
2 checks passed
@skrunked skrunked mentioned this pull request May 13, 2026
22 tasks
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.

[FEATURE] AdvantageKit vision

2 participants