mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-22 01:40:35 +08:00
change [init] to [i]
This change was introduced in pull #1461. This fixes some missed occurrences.
This commit is contained in:
@@ -16,5 +16,5 @@ then
|
|||||||
set PX4IO_LIMIT 200
|
set PX4IO_LIMIT 200
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[init] Set PX4IO update rate limit: $PX4IO_LIMIT Hz"
|
echo "[i] Set PX4IO update rate limit: $PX4IO_LIMIT Hz"
|
||||||
px4io limit $PX4IO_LIMIT
|
px4io limit $PX4IO_LIMIT
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ fi
|
|||||||
|
|
||||||
if meas_airspeed start
|
if meas_airspeed start
|
||||||
then
|
then
|
||||||
echo "[init] Using MEAS airspeed sensor"
|
echo "[i] Using MEAS airspeed sensor"
|
||||||
else
|
else
|
||||||
if ets_airspeed start
|
if ets_airspeed start
|
||||||
then
|
then
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ then
|
|||||||
# First sensor publisher to initialize takes lowest instance ID
|
# First sensor publisher to initialize takes lowest instance ID
|
||||||
# This delay ensures that UAVCAN-interfaced sensors would be allocated on lowest instance IDs
|
# This delay ensures that UAVCAN-interfaced sensors would be allocated on lowest instance IDs
|
||||||
sleep 1
|
sleep 1
|
||||||
echo "[init] UAVCAN started"
|
echo "[i] UAVCAN started"
|
||||||
else
|
else
|
||||||
echo "[init] ERROR: Could not start UAVCAN"
|
echo "[i] ERROR: Could not start UAVCAN"
|
||||||
tone_alarm $TUNE_ERR
|
tone_alarm $TUNE_ERR
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
# Flight startup script for PX4FMU standalone configuration.
|
# Flight startup script for PX4FMU standalone configuration.
|
||||||
#
|
#
|
||||||
|
|
||||||
echo "[init] doing standalone PX4FMU startup..."
|
echo "[i] doing standalone PX4FMU startup..."
|
||||||
|
|
||||||
#
|
#
|
||||||
# Start the ORB
|
# Start the ORB
|
||||||
#
|
#
|
||||||
uorb start
|
uorb start
|
||||||
|
|
||||||
echo "[init] startup done"
|
echo "[i] startup done"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ uorb start
|
|||||||
|
|
||||||
if sercon
|
if sercon
|
||||||
then
|
then
|
||||||
echo "[init] USB interface connected"
|
echo "[i] USB interface connected"
|
||||||
|
|
||||||
# Try to get an USB console
|
# Try to get an USB console
|
||||||
nshterm /dev/ttyACM0 &
|
nshterm /dev/ttyACM0 &
|
||||||
@@ -15,14 +15,14 @@ fi
|
|||||||
#
|
#
|
||||||
# Try to mount the microSD card.
|
# Try to mount the microSD card.
|
||||||
#
|
#
|
||||||
echo "[init] looking for microSD..."
|
echo "[i] looking for microSD..."
|
||||||
if mount -t vfat /dev/mmcsd0 /fs/microsd
|
if mount -t vfat /dev/mmcsd0 /fs/microsd
|
||||||
then
|
then
|
||||||
echo "[init] card mounted at /fs/microsd"
|
echo "[i] card mounted at /fs/microsd"
|
||||||
# Start playing the startup tune
|
# Start playing the startup tune
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
else
|
else
|
||||||
echo "[init] no microSD card found"
|
echo "[i] no microSD card found"
|
||||||
# Play SOS
|
# Play SOS
|
||||||
tone_alarm error
|
tone_alarm error
|
||||||
fi
|
fi
|
||||||
@@ -104,4 +104,4 @@ then
|
|||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
echo "Some Unit Tests FAILED:${unit_test_failure_list}"
|
echo "Some Unit Tests FAILED:${unit_test_failure_list}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user