rc.sensors
489 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
#
# Standard startup script for onboard sensor drivers.
#
if ms5611 -s start
then
fi
# Blacksheep telemetry
if bst start -X
then
fi
if board_adc start
then
fi
if sdp3x_airspeed start -X
then
fi
if ms5525_airspeed start -X
then
fi
if ms4525_airspeed start -X
then
fi
if ets_airspeed start -X
then
fi
if lightware_laser_i2c start
then
fi
# Wait 20 ms for sensors (because we need to wait for the HRT and work queue callbacks to fire)
usleep 20000
if sensors start
then
fi