Browse Source

Extended to support PX4FMU_V4 hw

sbg
David Sidrane 9 years ago committed by Lorenz Meier
parent
commit
75b96732b5
  1. 23
      ROMFS/px4fmu_common/init.d/rc.sensors

23
ROMFS/px4fmu_common/init.d/rc.sensors

@ -67,6 +67,28 @@ then @@ -67,6 +67,28 @@ then
fi
fi
else
if ver hwcmp PX4FMU_V4
then
# External I2C bus
if hmc5883 -C -T -X start
then
fi
# Internal SPI bus
if hmc5883 -C -T -S -R 8 start
then
fi
# Internal SPI bus mpu9250 is rotated ??
if mpu9250 -R 0 start
then
fi
# Internal SPI bus try MPU6K on ICM-20608-G is rotated 180 deg roll, 270 deg yaw
if mpu6000 -R 14 start
then
fi
else
# FMUv1
if mpu6000 start
then
@ -96,6 +118,7 @@ else @@ -96,6 +118,7 @@ else
fi
fi
fi
fi
fi
if meas_airspeed start

Loading…
Cancel
Save