2013-03-21 06:14:34 -03:00
|
|
|
#!nsh
|
|
|
|
#
|
2014-01-27 12:14:18 -04:00
|
|
|
# HILStar / X-Plane
|
|
|
|
#
|
|
|
|
# Maintainers: Thomas Gubler <thomasgubler@gmail.com>
|
2013-03-21 06:14:34 -03:00
|
|
|
#
|
|
|
|
|
2014-01-27 12:14:18 -04:00
|
|
|
echo "HIL Rascal 110 starting.."
|
2013-03-21 06:14:34 -03:00
|
|
|
|
2014-01-27 12:14:18 -04:00
|
|
|
if [ $DO_AUTOCONFIG == yes ]
|
2013-09-16 17:32:54 -03:00
|
|
|
then
|
|
|
|
# Set all params here, then disable autoconfig
|
|
|
|
|
|
|
|
param set FW_P_D 0
|
|
|
|
param set FW_P_I 0
|
|
|
|
param set FW_P_IMAX 15
|
|
|
|
param set FW_P_LIM_MAX 50
|
|
|
|
param set FW_P_LIM_MIN -50
|
|
|
|
param set FW_P_P 60
|
|
|
|
param set FW_P_RMAX_NEG 0
|
|
|
|
param set FW_P_RMAX_POS 0
|
|
|
|
param set FW_P_ROLLFF 1.1
|
|
|
|
param set FW_R_D 0
|
|
|
|
param set FW_R_I 5
|
|
|
|
param set FW_R_IMAX 20
|
|
|
|
param set FW_R_P 100
|
|
|
|
param set FW_R_RMAX 100
|
|
|
|
param set FW_THR_CRUISE 0.65
|
|
|
|
param set FW_T_SINK_MAX 5.0
|
|
|
|
param set FW_T_SINK_MIN 4.0
|
|
|
|
param set FW_Y_ROLLFF 1.1
|
2013-10-08 04:12:03 -03:00
|
|
|
param set FW_L1_PERIOD 16
|
2013-10-15 05:46:28 -03:00
|
|
|
param set RC_SCALE_ROLL 1.0
|
|
|
|
param set RC_SCALE_PITCH 1.0
|
2013-09-16 17:32:54 -03:00
|
|
|
|
|
|
|
param set SYS_AUTOCONFIG 0
|
|
|
|
param save
|
|
|
|
fi
|
|
|
|
|
2014-01-27 12:14:18 -04:00
|
|
|
set HIL yes
|
2013-09-08 15:40:55 -03:00
|
|
|
|
2014-01-27 12:14:18 -04:00
|
|
|
set VEHICLE_TYPE fw
|
|
|
|
set MIXER FMU_AERT
|