mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
rc.interface: remove unnecessary fmu start for RC input
RC input is now handled via rc_input module
This commit is contained in:
@@ -108,7 +108,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Start IO or FMU for RC PPM input if needed.
|
# Start IO for RC input if needed.
|
||||||
#
|
#
|
||||||
if [ $IO_PRESENT == yes ]
|
if [ $IO_PRESENT == yes ]
|
||||||
then
|
then
|
||||||
@@ -116,17 +116,6 @@ then
|
|||||||
then
|
then
|
||||||
sh /etc/init.d/rc.io
|
sh /etc/init.d/rc.io
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
if [ $OUTPUT_MODE != fmu ]
|
|
||||||
then
|
|
||||||
if fmu mode_${FMU_MODE} $FMU_ARGS
|
|
||||||
then
|
|
||||||
else
|
|
||||||
echo "FMU mode_${FMU_MODE} start failed" >> $LOG_FILE
|
|
||||||
# Error tune.
|
|
||||||
tune_control play -t 2
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user