fix scenario trq data

This commit is contained in:
gitea 2025-04-21 09:42:58 +08:00
parent 387618efb9
commit 29f5cd0c9f

View File

@ -111,9 +111,9 @@ class DoCurrentTest(QThread):
d_sensor[axis].extend(d_item)
elif item.get("channel", None) == axis and item.get("name", None) == "hw_estimate_trans_trq_res":
d_trans[axis].extend(d_item)
elif item.get("channel", None) == number and item.get("name", None) == "hw_predict_trq_res":
elif item.get("channel", None) == axis and item.get("name", None) == "hw_predict_trq_res":
d_predict_trq[axis].extend(d_item)
elif item.get("channel", None) == number and item.get("name", None) == "hw_real_trq_res":
elif item.get("channel", None) == axis and item.get("name", None) == "hw_real_trq_res":
d_real_trq[axis].extend(d_item)
for axis in range(6):