update imu
This commit is contained in:
@@ -166,7 +166,7 @@ def run_live(port, baud, save_csv=None):
|
||||
# 30Hz 刷新显示
|
||||
now = time.time()
|
||||
if now - last_draw >= 0.033:
|
||||
viewer.update(tracker.history_array)
|
||||
viewer.update(tracker.history_array, tracker.R)
|
||||
plt.pause(0.001)
|
||||
last_draw = now
|
||||
|
||||
@@ -258,7 +258,7 @@ def run_replay(csv_path):
|
||||
|
||||
now = time.time()
|
||||
if now - last_draw >= 0.033:
|
||||
viewer.update(tracker.history_array)
|
||||
viewer.update(tracker.history_array, tracker.R)
|
||||
plt.pause(0.001)
|
||||
last_draw = now
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user