mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:18:54 +08:00
ROMFS: Switch HIL to a setting orthogonal to airframes
This makes it easy to flip any airframe config over to HIL.
This commit is contained in:
@@ -44,5 +44,5 @@ then
|
||||
param set RWTO_TKOFF 1
|
||||
fi
|
||||
|
||||
set HIL yes
|
||||
param set SYS_HITL 1
|
||||
set MIXER AERT
|
||||
|
||||
@@ -11,5 +11,4 @@
|
||||
sh /etc/init.d/rc.mc_defaults
|
||||
|
||||
set MIXER quad_x
|
||||
|
||||
set HIL yes
|
||||
param set SYS_HITL 1
|
||||
|
||||
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user