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.
16 lines
376 B
16 lines
376 B
#!/bin/sh |
|
# |
|
# Bitcraze Crazyflie specific board sensors init |
|
#------------------------------------------------------------------------------ |
|
|
|
board_adc start |
|
|
|
# Onboard I2C |
|
if mpu9250_i2c -I -b 3 -a 0x69 -R 6 start; then |
|
sleep 1 # wait for mpu9250 to be configured with bypass enabled |
|
ak8963 -I -b 3 -R 4 start |
|
lps25h -I -b 3 start |
|
fi |
|
|
|
# Optical flow deck |
|
vl53l0x start -X
|
|
|