Commit 1b47f05b authored by Thomas Gubler's avatar Thomas Gubler
Browse files

rename DO_AUTOCONFIG to AUTOCNF in all files

parent 32f88bbe
...@@ -7,7 +7,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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,9 +7,9 @@ ...@@ -7,9 +7,9 @@
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
param set FW_AIRSPD_MIN 15 param set FW_AIRSPD_MIN 15
......
...@@ -8,7 +8,7 @@ sh /etc/init.d/rc.mc_defaults ...@@ -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
...@@ -24,7 +24,7 @@ then ...@@ -24,7 +24,7 @@ then
param set MC_YAWRATE_I 0.2 param set MC_YAWRATE_I 0.2
param set MC_YAWRATE_D 0.0 param set MC_YAWRATE_D 0.0
param set MC_YAW_FF 0.8 param set MC_YAW_FF 0.8
param set BAT_V_SCALING 0.00838095238 param set BAT_V_SCALING 0.00838095238
fi fi
......
...@@ -7,7 +7,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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" ...@@ -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 @@ ...@@ -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
...@@ -15,4 +15,4 @@ then ...@@ -15,4 +15,4 @@ then
param set FW_T_RLL2THR 15 param set FW_T_RLL2THR 15
param set FW_T_SRATE_P 0.01 param set FW_T_SRATE_P 0.01
param set FW_T_TIME_CONST 5 param set FW_T_TIME_CONST 5
fi fi
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment