From b6677527c2986464e57c8d34ac7d0a52c99eae00 Mon Sep 17 00:00:00 2001 From: qhdwight Date: Sat, 30 Dec 2023 15:07:36 -0800 Subject: [PATCH] Fix ordering --- src/util/course_publish_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/course_publish_helpers.py b/src/util/course_publish_helpers.py index 68bcb8882..47f4bb29c 100644 --- a/src/util/course_publish_helpers.py +++ b/src/util/course_publish_helpers.py @@ -23,4 +23,4 @@ def publish_waypoints(waypoints): def convert_waypoint_to_gps(waypoint_pose_pair: Tuple[Waypoint, SE3]) -> GPSWaypoint: waypoint, pose = waypoint_pose_pair lat, lon, _ = pymap3d.enu2geodetic(pose.position[0], pose.position[1], pose.position[2], REF_LAT, REF_LON, 0.0) - return GPSWaypoint(lat, lon, waypoint.type, waypoint.fiducial_id) + return GPSWaypoint(waypoint.tag_id, lat, lon, waypoint.type)