From 58bc706c8193cd6f302702ef1e16c4409ef93980 Mon Sep 17 00:00:00 2001 From: TiaSinghania Date: Fri, 10 Jan 2025 13:15:17 -0800 Subject: [PATCH] minor sim fixes --- rb_ws/src/buggy/buggy/simulator/engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rb_ws/src/buggy/buggy/simulator/engine.py b/rb_ws/src/buggy/buggy/simulator/engine.py index b3cb774..6c7e7ad 100644 --- a/rb_ws/src/buggy/buggy/simulator/engine.py +++ b/rb_ws/src/buggy/buggy/simulator/engine.py @@ -10,7 +10,7 @@ import numpy as np import utm sys.path.append("/rb_ws/src/buggy/buggy") -from rb_ws.src.buggy.buggy.util.constants import Constants +from util.constants import Constants class Simulator(Node): @@ -130,7 +130,7 @@ def publish(self): with self.lock: p.position.x = self.e_utm p.position.y = self.n_utm - p.position.z = self.heading + p.position.z = float(self.heading) velocity = self.velocity self.plot_publisher.publish(p)