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.
28 lines
374 B
28 lines
374 B
#!nsh |
|
# |
|
# Standard startup script for TAP v1 onboard sensor drivers. |
|
# |
|
|
|
if adc start |
|
then |
|
fi |
|
|
|
if ms5611 -T 5607 -I start |
|
then |
|
fi |
|
|
|
# External I2C bus |
|
if hmc5883 -C -T -X start |
|
then |
|
fi |
|
|
|
# Internal I2C bus |
|
if mpu6000 -I -T 6000 start |
|
then |
|
fi |
|
|
|
# Wait 50 ms for sensors (because we need to wait for the HRT and work queue callbacks to fire) |
|
usleep 50000 |
|
if sensors start |
|
then |
|
fi
|
|
|