aboutsummaryrefslogblamecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.uavcan
blob: abb76b400140536eb05c0d7b5ebd729387d3de33 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                         
#!nsh
#
# UAVCAN initialization script.
#

if param compare UAVCAN_ENABLE 1
then
	if uavcan start
	then
		sleep 1                      # Sensor autodetection delay
		echo "[init] UAVCAN started"
	else
		echo "[init] ERROR: Could not start UAVCAN"
		tone_alarm $TUNE_OUT_ERROR
	fi
fi