2013-08-25 14:27:11 -03:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
#
|
2014-01-07 16:56:35 -04:00
|
|
|
if hw_ver compare PX4FMU_V1
|
2013-08-25 14:27:11 -03:00
|
|
|
then
|
|
|
|
px4io limit 200
|
|
|
|
else
|
|
|
|
px4io limit 400
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
# SOS
|
2013-08-31 02:03:32 -03:00
|
|
|
tone_alarm error
|
2013-08-25 14:27:11 -03:00
|
|
|
fi
|