From f9bdac167dbe9ffc1353055660a9caecf80bd0c8 Mon Sep 17 00:00:00 2001 From: Mikhail Khrenov Date: Wed, 13 Nov 2024 22:43:35 -0500 Subject: [PATCH] Unflipped northing and easting to match firmware (#116) --- 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