Skip to content

Conversation

@73anthonyL
Copy link
Contributor

No description provided.

@73anthonyL 73anthonyL requested a review from a team as a code owner November 18, 2025 03:40
private final RobotContainer m_robotContainer;
private VisionSystem visionRight;
private VisionSystem visionLeft;
private AnthonyVision visionRight;
Copy link
Contributor

Choose a reason for hiding this comment

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

can we rename the class pls

*/
public class AnthonyVision extends SubsystemBase {
// static member of AnthonyVision that contains array of all existing AnthonyVision systems
private static AnthonyVision[] systemList =
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need an array of exisitng vision systems?

@Override
public void periodic() {
// Initialize swerve drive if not already done
if (swerveDrive == null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we initializing in periodic?

List<PhotonPipelineResult> results = photonCamera.getAllUnreadResults();

// Go through all results (if there are any) and update the latest result with the last
for (var result : results) {
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to interate if this is effectively grabbing the last value?

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