Skip to content

Commit 6dd4e93

Browse files
committed
Add formatting
1 parent 56bca31 commit 6dd4e93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

donkeycar/parts/imu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ def shutdown(self):
160160
while True:
161161
try:
162162
accel, gyro = p.run()
163-
out_str = f"\raccel: " + f",".join(f"{x:+5.4f}" for x in accel) +\
164-
f"gyro: " + ",".join(f"{x:+5.4f}" for x in gyro)
163+
out_str = f"\raccel: " + f",".join(f"{x:+5.3f}" for x in accel) +\
164+
f" gyro: " + ",".join(f"{x:+5.3f}" for x in gyro)
165165
stdout.write(out_str)
166166
stdout.flush()
167167
time.sleep(0.05)

0 commit comments

Comments
 (0)