Skip to content

Commit

Permalink
Add formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DocGarbanzo committed Sep 21, 2024
1 parent 0a9369f commit 56bca31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions donkeycar/parts/imu.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,15 @@ def shutdown(self):
while True:
try:
accel, gyro = p.run()
out_str = f"\raccel: " + f",".join(f"{x:+5.4f}" for x in accel) + \
f"gyro: " + ",".join(f"{x:+5.4f}" for x in gyro)
stdout(out_str)
out_str = f"\raccel: " + f",".join(f"{x:+5.4f}" for x in accel) +\
f"gyro: " + ",".join(f"{x:+5.4f}" for x in gyro)
stdout.write(out_str)
stdout.flush()
time.sleep(0.05)
count += 1
except KeyboardInterrupt:
break
stdout.write("\n")
break
sys.exit(0)

iter = 0
Expand Down

0 comments on commit 56bca31

Please sign in to comment.