aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.io
blob: aaf91b3166f3853ea3b6a3212c2f7d75923331b7 (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
#
# Start PX4IO interface (depends on orb, commander)
#
if px4io start
then
	#
	# Allow PX4IO to recover from midair restarts.
	# this is very unlikely, but quite safe and robust.
	px4io recovery

	#
	# Disable px4io topic limiting
	#
	if [ $BOARD == fmuv1 ]
	then
		px4io limit 200
	else
		px4io limit 400
	fi
else
	# SOS
	tone_alarm error
fi