机架、输出和电源 组装之后
在 ArduCopter 4.7.2 里你设置的是参数,而不是命令:在 MAVProxy 里每条 param set 会立即保存,在 Mission Planner 里则是 Write Params。四轴 X 形机架,MAIN 输出上的 DShot600(6C 的 IO 芯片需要 BRD_IO_DSHOT 1 才能做到),把 PM02 作为模拟电池监测,再加上电池的满电和空电电压,这样推力不会随着电池耗电而减弱。
# ArduCopter 4.7.2 on a Pixhawk 6C: quad X, DShot600 on MAIN 1-4, PM02 on POWER1
param set FRAME_CLASS 1 # Quad
param set FRAME_TYPE 1 # X: M1 front right, M2 rear left, M3 front left, M4 rear right
param set MOT_PWM_TYPE 6 # DShot600: no ESC calibration
param set BRD_IO_DSHOT 1 # DShot on the 6C's IO (MAIN) outputs
param set BATT_MONITOR 4 # PM02: analog voltage and current
param set BATT_CAPACITY 5000 # mAh
param set MOT_BAT_VOLT_MAX 16.8 # 4.2 V x 4 cells: thrust stays the same as the pack drains
param set MOT_BAT_VOLT_MIN 13.2 # 3.3 V x 4 cells
param set AHRS_ORIENTATION 0 # Pixhawk arrow to the nose; 4 = Yaw180 if it points back
# FRAME_CLASS, BRD_IO_DSHOT and AHRS_ORIENTATION take effect after a reboot