aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.autostart_hil
blob: d5fc5eb0879f157be4db26af82d2f6d1777b471f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Check if auto-setup from one of the standard scripts for HIL is wanted
#

if param compare SYS_AUTOSTART 1000
then
	#sh /etc/init.d/1000_rc_fw_easystar.hil		
	set MODE hil
fi

if param compare SYS_AUTOSTART 1001
then
	sh /etc/init.d/1001_rc_quad.hil
	set MODE hil
fi

if param compare SYS_AUTOSTART 1002
then
	#sh /etc/init.d/1002_rc_fw_state.hil
	set MODE hil
fi

if param compare SYS_AUTOSTART 1003
then
	#sh /etc/init.d/1003_rc_quad_+.hil
	set MODE hil
fi

if param compare SYS_AUTOSTART 1004
then
	#sh /etc/init.d/1004_rc_fw_Rascal110.hil
	set MODE hil
fi