rfu
90c3819df5
fxos8701cq + fxas21002c: add support for I2C
2020-05-04 09:49:23 +02:00
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
2020-04-01 12:24:22 -04:00
Beat Küng
7626be0485
refactor mpu9250: use driver base class
2020-03-24 09:46:20 -04:00
Beat Küng
b54e5a1c23
param: automatically update calibration ID params on import
...
This avoids the need for recalibration, and also cleans up other driver
ID's (merge separate accel/gyro).
The SPI address was previously set to a board-specific (arbitrary) value,
and is now set to 0. This will allow extending for multiple sensors of the
same type on the same bus.
2020-03-10 10:11:43 -04:00
Daniel Agar
091c111f4f
mpu9250: more small fixes and cleanup
...
- delete unused _checked_bad
- delete unused "good transfers" perf counter
- delete unused "bad transfers" perf counter
- use proper register names in transfer structures
- mpu9250 don't transfer unused status register
- mpu9250 mag (ak8963) check overflow
- mpu9250 mag (ak8963) pass data as const references
- mpu9250 mag fix mag errors perf count
- delete obsolete whoami checks
2020-01-04 12:38:22 -05:00
Daniel Agar
c5520cbaca
mpu9250: start building "NuttX" driver for Linux and QuRT
2019-11-13 09:21:02 -05:00
mcsauder
b495ddbdd3
Delete unnecessary #includes from the imu driver directory.
2019-07-08 23:45:01 -04:00
Daniel Agar
32fb2bae8c
InvenSense MPU9250 move to PX4Accelerometer and PX4Gyroscope helpers
2019-05-31 21:43:30 -04:00
Jacob Dahl
a492d1cfdb
MPU9250 driver fix to preserve bus+device plug-and-play capabilities ( #11020 )
2019-01-03 08:10:23 -05:00
flochir
ab9e9793a0
ICM20948 integration into MPU9250 driver ( #10116 )
...
* Integrated preliminary ICM20948 support into MPU9250 driver.
Fixed temperature conversion for MPU9250/ICM20948.
* Included missing check for PX4_I2C_OBDEV_MPU9250 in main.cpp.
* Added explicit bus for internal MPU9250 on Pixhawk 2.1 to avoid implicit start
of an externally attached device with wrong orientation.
2018-12-04 22:15:02 -05:00
Daniel Agar
b0caea9edc
mpu9250 remove interface IOCTLs
2018-11-06 07:43:43 +08:00
Daniel Agar
22c9fb7290
delete unused IOCTL ACCELIOCGEXTERNAL
2018-11-06 07:43:43 +08:00
Daniel Agar
6b94ef1a03
mpu9250 allow a 2nd internal spi instance and remove px4fmu-v4 fake external ( #9386 )
2018-05-04 12:38:43 -04:00
Daniel Agar
681e351f62
organize all IMU drivers in subdirectory
2018-02-09 22:40:34 +01:00