切换至最新底层,添加can_err健康,修改记录解析,添加舵面极性测试模式

This commit is contained in:
LZY\79495
2025-07-09 12:40:26 +08:00
parent 69d61f7cb1
commit 312d4e478c
5 changed files with 15 additions and 27 deletions
+14 -26
View File
@@ -459,7 +459,7 @@ def parseHJ(filename):
],
[],
],
20: [struct.Struct('<I11f4fB5H12f25H'),
20: [struct.Struct('<I11f4fB5H12f12f'),
[['boot_time', 0.005, '时间戳', 0],
['q_c', 57.3, '俯仰角速度指令(deg/s)', 0],
@@ -500,31 +500,19 @@ def parseHJ(filename):
['rot_lbi', 1, 'rot_lbi(rpm)', 0],
['rot_lbo', 1, 'rot_lbo(rpm)', 0],
['PWM1', 1, 'PWM1', 0],
['PWM2', 1, 'PWM2', 0],
['PWM3', 1, 'PWM3', 0],
['PWM4', 1, 'PWM4', 0],
['PWM5', 1, 'PWM5', 0],
['PWM6', 1, 'PWM6', 0],
['PWM7', 1, 'PWM7', 0],
['PWM8', 1, 'PWM8', 0],
['PWM9', 1, 'PWM9', 0],
['PWM10', 1, 'PWM10', 0],
['PWM11', 1, 'PWM11', 0],
['PWM12', 1, 'PWM12', 0],
['PWM13', 1, 'PWM13', 0],
['PWM14', 1, 'PWM14', 0],
['PWM15', 1, 'PWM15', 0],
['PWM16', 1, 'PWM16', 0],
['PWM17', 1, 'PWM17', 0],
['PWM18', 1, 'PWM18', 0],
['PWM19', 1, 'PWM19', 0],
['PWM20', 1, 'PWM20', 0],
['PWM21', 1, 'PWM21', 0],
['PWM22', 1, 'PWM22', 0],
['PWM23', 1, 'PWM23', 0],
['PWM24', 1, 'PWM24', 0],
['PWM25', 1, 'PWM25', 0],
['del_c', 1, '左尾翼指令', 0],
['der_c', 1, '右尾翼指令', 0],
['dal_c', 1, '左副翼指令', 0],
['dar_c', 1, '左副翼指令', 0],
['dfl_c', 1, '左襟翼指令', 0],
['dfr_c', 1, '左襟翼指令', 0],
['dfal_c', 1, '左襟副翼指令', 0],
['dfar_c', 1, '左襟副翼指令', 0],
['de_stimulus', 1, '升降舵激励', 0],
['da_stimulus', 1, '副翼激励', 0],
['dr_stimulus', 1, '方向舵激励', 0],
['df_stimulus', 1, '襟翼激励', 0],
],
[],
],