From 141611a02cea857c7ca5e06c3c0cb234cb9cc356 Mon Sep 17 00:00:00 2001 From: Manav Gagvani Date: Sat, 25 Nov 2023 15:43:28 -0500 Subject: [PATCH] cleanup --- telemetry.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/telemetry.py b/telemetry.py index 304cfed..d6caa23 100644 --- a/telemetry.py +++ b/telemetry.py @@ -100,7 +100,7 @@ def __update(self): # debug - print current steer, norm_driving_line # print(f"Steer: {steer}, Norm Driving Line: {self.norm_driving_line}, data: {data}") - print(f"Speed: {self.speed}, Velocity: {v}, AngVelocity: {w}, Radius: {radius}") + print(f"Velocity: {v}, AngVelocity: {w}, Radius: {radius}") return steer, throttle @@ -150,13 +150,4 @@ def follow_waypoints(waypoints_file="waypoints.txt"): if __name__ == "__main__": - # save_waypoints() - # pid_throttle() - pid_steer_throttle()() # this is so funny - - #for i in get_waypoints(print_values=False): - # x, y, z, speed = i - # print(f"x: {x}, y: {y}, z: {z}, speed: {speed}") - # # time.sleep(1) - - # follow_waypoints() + pid_steer_throttle()()