mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
rename DO_AUTOCONFIG to AUTOCNF in all files
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.mc_defaults
|
sh /etc/init.d/rc.mc_defaults
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
# TODO review MC_YAWRATE_I
|
# TODO review MC_YAWRATE_I
|
||||||
param set MC_ROLL_P 8.0
|
param set MC_ROLL_P 8.0
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.mc_defaults
|
sh /etc/init.d/rc.mc_defaults
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
# TODO tune roll/pitch separately
|
# TODO tune roll/pitch separately
|
||||||
param set MC_ROLL_P 7.0
|
param set MC_ROLL_P 7.0
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.mc_defaults
|
sh /etc/init.d/rc.mc_defaults
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
# TODO tune roll/pitch separately
|
# TODO tune roll/pitch separately
|
||||||
param set MC_ROLL_P 7.0
|
param set MC_ROLL_P 7.0
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.fw_defaults
|
sh /etc/init.d/rc.fw_defaults
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
param set FW_AIRSPD_MIN 12
|
param set FW_AIRSPD_MIN 12
|
||||||
param set FW_AIRSPD_TRIM 25
|
param set FW_AIRSPD_TRIM 25
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.fw_defaults
|
sh /etc/init.d/rc.fw_defaults
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
param set FW_AIRSPD_MIN 13
|
param set FW_AIRSPD_MIN 13
|
||||||
param set FW_AIRSPD_TRIM 15
|
param set FW_AIRSPD_TRIM 15
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.fw_defaults
|
sh /etc/init.d/rc.fw_defaults
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
param set FW_AIRSPD_MIN 15
|
param set FW_AIRSPD_MIN 15
|
||||||
param set FW_AIRSPD_TRIM 20
|
param set FW_AIRSPD_TRIM 20
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.fw_defaults
|
sh /etc/init.d/rc.fw_defaults
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
param set BAT_N_CELLS 2
|
param set BAT_N_CELLS 2
|
||||||
param set FW_AIRSPD_MAX 15
|
param set FW_AIRSPD_MAX 15
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.fw_defaults
|
sh /etc/init.d/rc.fw_defaults
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
|
|
||||||
# TODO: these are the X5 default parameters, update them to the caipi
|
# TODO: these are the X5 default parameters, update them to the caipi
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ sh /etc/init.d/rc.mc_defaults
|
|||||||
#
|
#
|
||||||
# Load default params for this platform
|
# Load default params for this platform
|
||||||
#
|
#
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
# Set all params here, then disable autoconfig
|
# Set all params here, then disable autoconfig
|
||||||
param set MC_ROLL_P 6.0
|
param set MC_ROLL_P 6.0
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/4001_quad_x
|
sh /etc/init.d/4001_quad_x
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
param set MC_ROLL_P 7.0
|
param set MC_ROLL_P 7.0
|
||||||
param set MC_ROLLRATE_P 0.1
|
param set MC_ROLLRATE_P 0.1
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/4001_quad_x
|
sh /etc/init.d/4001_quad_x
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
# TODO REVIEW
|
# TODO REVIEW
|
||||||
param set MC_ROLL_P 7.0
|
param set MC_ROLL_P 7.0
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sh /etc/init.d/4001_quad_x
|
sh /etc/init.d/4001_quad_x
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
# TODO REVIEW
|
# TODO REVIEW
|
||||||
param set MC_ROLL_P 7.0
|
param set MC_ROLL_P 7.0
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ echo "HK Micro PCB Quad"
|
|||||||
|
|
||||||
sh /etc/init.d/4001_quad_x
|
sh /etc/init.d/4001_quad_x
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
param set MC_ROLL_P 7.0
|
param set MC_ROLL_P 7.0
|
||||||
param set MC_ROLLRATE_P 0.1
|
param set MC_ROLLRATE_P 0.1
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set VEHICLE_TYPE fw
|
set VEHICLE_TYPE fw
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
#
|
#
|
||||||
# Default parameters for FW
|
# Default parameters for FW
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set VEHICLE_TYPE mc
|
set VEHICLE_TYPE mc
|
||||||
|
|
||||||
if [ $DO_AUTOCONFIG == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
then
|
||||||
param set MC_ROLL_P 7.0
|
param set MC_ROLL_P 7.0
|
||||||
param set MC_ROLLRATE_P 0.1
|
param set MC_ROLLRATE_P 0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user