#!/bin/sh # # Standard startup script for onboard sensor drivers. # # Configure all I2C buses to 100 KHz as they # are all external or slow fmu i2c 1 100000 fmu i2c 2 100000 if ms5611 -s start then fi # Blacksheep telemetry if bst start then fi if adc start then fi if sdp3x_airspeed start then fi if ms5525_airspeed start then fi if ms5525_airspeed start -b 2 then fi if ms4525_airspeed start then fi if ms4525_airspeed start -b 2 then fi if ets_airspeed start then fi if ets_airspeed start -b 1 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