Skip to content

Commit

Permalink
Reverse vision target rendering order
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Sep 14, 2024
1 parent 71be550 commit 197bc6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/hub/controllers/OdometryController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ export default class OdometryController implements TabController {
}
}
});
visionTargets.reverse();
swerveStates.reverse();

// Add object
Expand Down
1 change: 1 addition & 0 deletions src/hub/controllers/ThreeDimensionController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ export default class ThreeDimensionController implements TabController {
});
}
let mechanism = mechanisms.length === 0 ? null : mergeMechanismStates(mechanisms);
visionTargets.reverse();
swerveStates.reverse();

// Add object
Expand Down

0 comments on commit 197bc6c

Please sign in to comment.