mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 19:23:35 +08:00
Make boot less verbose to not hide the important status messages
This commit is contained in:
@@ -301,7 +301,6 @@ then
|
|||||||
|
|
||||||
if [ $OUTPUT_MODE == io -o $OUTPUT_MODE == uavcan_esc ]
|
if [ $OUTPUT_MODE == io -o $OUTPUT_MODE == uavcan_esc ]
|
||||||
then
|
then
|
||||||
echo "[init] Use PX4IO PWM as primary output"
|
|
||||||
if px4io start
|
if px4io start
|
||||||
then
|
then
|
||||||
echo "[init] PX4IO started"
|
echo "[init] PX4IO started"
|
||||||
@@ -314,7 +313,6 @@ then
|
|||||||
|
|
||||||
if [ $OUTPUT_MODE == fmu -o $OUTPUT_MODE == ardrone ]
|
if [ $OUTPUT_MODE == fmu -o $OUTPUT_MODE == ardrone ]
|
||||||
then
|
then
|
||||||
echo "[init] Use FMU as primary output"
|
|
||||||
if fmu mode_$FMU_MODE
|
if fmu mode_$FMU_MODE
|
||||||
then
|
then
|
||||||
echo "[init] FMU mode_$FMU_MODE started"
|
echo "[init] FMU mode_$FMU_MODE started"
|
||||||
@@ -338,7 +336,6 @@ then
|
|||||||
|
|
||||||
if [ $OUTPUT_MODE == mkblctrl ]
|
if [ $OUTPUT_MODE == mkblctrl ]
|
||||||
then
|
then
|
||||||
echo "[init] Use MKBLCTRL as primary output"
|
|
||||||
set MKBLCTRL_ARG ""
|
set MKBLCTRL_ARG ""
|
||||||
if [ $MKBLCTRL_MODE == x ]
|
if [ $MKBLCTRL_MODE == x ]
|
||||||
then
|
then
|
||||||
@@ -361,7 +358,6 @@ then
|
|||||||
|
|
||||||
if [ $OUTPUT_MODE == hil ]
|
if [ $OUTPUT_MODE == hil ]
|
||||||
then
|
then
|
||||||
echo "[init] Use HIL as primary output"
|
|
||||||
if hil mode_port2_pwm8
|
if hil mode_port2_pwm8
|
||||||
then
|
then
|
||||||
echo "[init] HIL output started"
|
echo "[init] HIL output started"
|
||||||
@@ -380,7 +376,6 @@ then
|
|||||||
then
|
then
|
||||||
if px4io start
|
if px4io start
|
||||||
then
|
then
|
||||||
echo "[init] PX4IO started"
|
|
||||||
sh /etc/init.d/rc.io
|
sh /etc/init.d/rc.io
|
||||||
else
|
else
|
||||||
echo "[init] ERROR: PX4IO start failed"
|
echo "[init] ERROR: PX4IO start failed"
|
||||||
|
|||||||
Reference in New Issue
Block a user