From 96b03464d9088367fb69a247034bcb3a8e8082c0 Mon Sep 17 00:00:00 2001 From: Mikhail Khrenov Date: Wed, 13 Nov 2024 20:50:56 -0500 Subject: [PATCH] Unflipped northing and easting to match firmware --- rb_ws/src/buggy/scripts/serial/ros_to_bnyahaj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rb_ws/src/buggy/scripts/serial/ros_to_bnyahaj.py b/rb_ws/src/buggy/scripts/serial/ros_to_bnyahaj.py index 1395061..4c87c6b 100755 --- a/rb_ws/src/buggy/scripts/serial/ros_to_bnyahaj.py +++ b/rb_ws/src/buggy/scripts/serial/ros_to_bnyahaj.py @@ -164,7 +164,7 @@ def reader_thread(self): # TODO: Not mock rolled accurately (Needs to be Fact Checked) try: - lat, long = World.utm_to_gps(packet.y, packet.x) + lat, long = World.utm_to_gps(packet.x, packet.y) odom.pose.pose.position.x = long odom.pose.pose.position.y = lat odom.twist.twist.angular.z = packet.heading_rate