You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
475 B
43 lines
475 B
#!/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 sf1xx 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
|
|
|