Browse Source

ROMFS: Switch HIL to a setting orthogonal to airframes

This makes it easy to flip any airframe config over to HIL.
sbg
Lorenz Meier 8 years ago
parent
commit
8aa1382e08
  1. 2
      ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil
  2. 3
      ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil
  3. 6
      ROMFS/px4fmu_common/init.d/rcS

2
ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil

@ -44,5 +44,5 @@ then @@ -44,5 +44,5 @@ then
param set RWTO_TKOFF 1
fi
set HIL yes
param set SYS_HITL 1
set MIXER AERT

3
ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil

@ -11,5 +11,4 @@ @@ -11,5 +11,4 @@
sh /etc/init.d/rc.mc_defaults
set MIXER quad_x
set HIL yes
param set SYS_HITL 1

6
ROMFS/px4fmu_common/init.d/rcS

@ -204,6 +204,12 @@ then @@ -204,6 +204,12 @@ then
set FMU_ARGS "-t"
fi
if param compare SYS_HITL 1
then
# Enable HITL mode
set HIL yes
fi
#
# Set USE_IO flag
#

Loading…
Cancel
Save