Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mgagvani committed Nov 25, 2023
1 parent 9d45c11 commit 141611a
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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()()

0 comments on commit 141611a

Please sign in to comment.