From 3f697ab0dbc4cfff60b05789dfa4049401375574 Mon Sep 17 00:00:00 2001 From: DocGarbanzo Date: Sun, 17 Nov 2024 21:01:46 +0000 Subject: [PATCH] Use threaded part with higher internal refresh rate --- donkeycar/parts/imu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/donkeycar/parts/imu.py b/donkeycar/parts/imu.py index e6a2b10f3..8c03bdd5a 100755 --- a/donkeycar/parts/imu.py +++ b/donkeycar/parts/imu.py @@ -388,7 +388,7 @@ def append(self, x): euler, matrix, accel = mpu.run_threaded() #out_str = f"\reuler: " + f",".join(f"{x:+5.3f}" for x in matrix) out_str = f"\reu = " + \ - np.array2string(euler, precision=1, separator=',', + np.array2string(euler, precision=0, separator=',', sign='+', floatmode='fixed', suppress_small=True).replace('\n', '') out_str += \