增加调试功能,以及yaw补偿
This commit is contained in:
1 parent
267a659242
commit
957c535bda
257 files changed
+239436
-692
No files matched your search
@@ -5,13 +5,13 @@
|
||||
#include "dji_motor.h"
|
||||
|
||||
/* 底盘模块:麦轮逆解 + 四轮转速 PID + 跟随云台(双 INS 世界系,2026-09 重写)
|
||||
* 电机接线(与 legacy 实际发送一致):
|
||||
* 0x201 右前 0x202 左前 0x203 左后 0x204 右后 */
|
||||
* 电机实际接线:
|
||||
* 0x201 右前 0x202 右后 0x203 左前 0x204 左后 */
|
||||
|
||||
extern dji_motor_t motor_wheel_rf; // 0x201 右前
|
||||
extern dji_motor_t motor_wheel_lf; // 0x202 左前
|
||||
extern dji_motor_t motor_wheel_lr; // 0x203 左后
|
||||
extern dji_motor_t motor_wheel_rr; // 0x204 右后
|
||||
extern dji_motor_t motor_wheel_lf; // 0x202 右后(变量名沿用 legacy)
|
||||
extern dji_motor_t motor_wheel_lr; // 0x203 左前(变量名沿用 legacy)
|
||||
extern dji_motor_t motor_wheel_rr; // 0x204 左后(变量名沿用 legacy)
|
||||
extern dji_motor_t motor_yaw_follow; // Yaw GM6020,CAN2 0x205(跟随反馈)
|
||||
|
||||
extern void chassis_motor_init(void);
|
||||
|
||||
Reference in new issue
Block a user