mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 22:33:35 +08:00
The param is not really required anymore with the actuator configuration. Also, when it is set to 0, RC doesn't work for some boards which would be nice to avoid. Signed-off-by: Julian Oes <julian@oes.ch>
31 lines
733 B
Bash
31 lines
733 B
Bash
#!/bin/sh
|
|
#
|
|
# board specific defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Telemetry for onboard computer
|
|
param set-default MAV_1_CONFIG 102 # TELEM2
|
|
param set-default MAV_1_MODE 0 # Normal
|
|
param set-default SER_TEL2_BAUD 921600 # 921600
|
|
|
|
# Temperature stabilization
|
|
param set-default SENS_EN_THERMAL 1 # Enable heater
|
|
param set-default SENS_TEMP_ID 2359314 # Heated IMU ID
|
|
|
|
# Battery scaling
|
|
param set-default BAT_N_CELLS 4
|
|
param set-default BAT1_N_CELLS 4
|
|
|
|
param set-default BAT1_V_DIV 15.51
|
|
|
|
param set-default BAT1_A_PER_V 36.00
|
|
|
|
param set-default BAT_V_OFFS_CURR 0.413
|
|
|
|
# Disable safety switch
|
|
param set-default CBRK_IO_SAFETY 22027
|
|
|
|
safety_button start
|
|
|
|
set LOGGER_BUF 32
|