mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 14:57:35 +08:00
fb8bf7eaa6
Remove params from airframe configs that are just set again to the param default value or to the value that is specified in the mc_default, fw_default or vtol_default. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
40 lines
742 B
Bash
40 lines
742 B
Bash
#!/bin/sh
|
|
#
|
|
# UGV default parameters.
|
|
#
|
|
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
|
#
|
|
|
|
set VEHICLE_TYPE rover
|
|
|
|
#
|
|
# Default parameters for UGVs.
|
|
#
|
|
param set-default MIS_LTRMIN_ALT 0.01
|
|
param set-default MIS_TAKEOFF_ALT 0.01
|
|
|
|
param set-default NAV_ACC_RAD 2
|
|
param set-default NAV_LOITER_RAD 2
|
|
|
|
# Temporary.
|
|
param set-default NAV_FW_ALT_RAD 1000
|
|
|
|
#
|
|
# Enable servo output on pins 3 and 4 (steering and thrust)
|
|
# but also include 1+2 as they form together one output group
|
|
# and need to be set together.
|
|
#
|
|
set PWM_OUT 1234
|
|
|
|
#
|
|
# PWM Hz - 50 Hz is the normal rate in RC cars, higher rates
|
|
# may damage analog servos.
|
|
#
|
|
set PWM_MAIN_RATE 50
|
|
|
|
#
|
|
# This is the gimbal pass mixer.
|
|
#
|
|
set MIXER_AUX pass
|
|
set PWM_AUX_OUT 1234
|