Skip to content

GPS Conversion and AprilTag comparison#46

Open
LegoMaster7001 wants to merge 23 commits intomainfrom
GPS-AprilTag-Comparison
Open

GPS Conversion and AprilTag comparison#46
LegoMaster7001 wants to merge 23 commits intomainfrom
GPS-AprilTag-Comparison

Conversation

@LegoMaster7001
Copy link
Collaborator

@LegoMaster7001 LegoMaster7001 commented Dec 7, 2025

added comparison to see if the GPS and AprilTags are within a range of each other. It will average out the points if they are close, and will return apriltag if they are too far apart.
added GPS convesion to convert the robot's global position to local field coordinates.

@LegoMaster7001 LegoMaster7001 changed the title GPS AprilTag comparison GPS Conversion and AprilTag comparison Jan 15, 2026
Karsten-Larson
Karsten-Larson previously approved these changes Jan 16, 2026
Copy link
Collaborator

@Karsten-Larson Karsten-Larson left a comment

Choose a reason for hiding this comment

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

Minor changes. Can ignore due to time crunch

#how off the coordinates can be from each other
distanceError = 0.25

class coordinateComparison(Node):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should be CoordinteComparision to follow Python convention

import cv2

#how off the coordinates can be from each other
distanceError = 0.25
Copy link
Collaborator

Choose a reason for hiding this comment

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

DISTANCE_ERROR since constant

import cv2


class gpsConversion(Node):
Copy link
Collaborator

Choose a reason for hiding this comment

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

GpsConversion

@Karsten-Larson
Copy link
Collaborator

Have you added entry points to these nodes? These will be needed

Karsten-Larson
Karsten-Larson previously approved these changes Jan 16, 2026
Copy link
Collaborator

@Karsten-Larson Karsten-Larson left a comment

Choose a reason for hiding this comment

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

Ok

@Karsten-Larson
Copy link
Collaborator

I will do the merge conflict changes when it is time for that. We got rid of the apriltag changes

LegoMaster7001 and others added 11 commits January 16, 2026 18:22
Co-authored-by: Karsten Larson <Karsten-Larson@users.noreply.github.com>
Co-authored-by: brandongasser <bgasser12@gmail.com>
Co-authored-by: Karsten Larson <karsten.larson.1@gmail.com>
Co-authored-by: kaitlyn-nickel <nickelk102703@gmail.com>
Co-authored-by: Brandon Gasser <brandongasser@users.noreply.github.com>
Co-authored-by: Gannon Andrews <LegoMaster7001@users.noreply.github.com>
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.

4 participants