aboutsummaryrefslogblamecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.io
blob: 24784610c159134e586e8172cf85fec1d9aeccba (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                           
                                   






                               
                        
  
#
# 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 hw_ver compare PX4FMU_V1
	then
		px4io limit 200
	else
		px4io limit 400
	fi
else
	# SOS
	tone_alarm error
fi