Andrew Tridgell
520727e5bd
AP_InertialSensor: fixed example build
10 years ago
Andrew Tridgell
dbcd02f2be
AP_InertialSensor: converted MPU9150 driver
...
untested conversion
10 years ago
Andrew Tridgell
ff5f791343
AP_InertialSensor: converted flymaple driver to new API
10 years ago
Andrew Tridgell
a42af0f2f1
AP_InertialSensor: use common AP_InertialSensor driver for PX4 and VRBRAIN
10 years ago
Andrew Tridgell
3ce7667e5a
AP_InertialSensor: tidy up MPU6000 driver
10 years ago
Andrew Tridgell
2d47a07480
AP_InertialSensor: ported L3G4200D driver to new API
10 years ago
Andrew Tridgell
deafcd6ddc
AP_InertialSensor: improved timing in all drivers
10 years ago
Andrew Tridgell
ff6d87f145
AP_InertialSensor: minor tidy up for HIL driver
10 years ago
Andrew Tridgell
85686c22ec
AP_InertialSensor: converted the APM1/Oilpan driver to new API
10 years ago
Andrew Tridgell
dcef9bb3b8
AP_InertialSensor: converted the MPU9250 driver to new API
10 years ago
Andrew Tridgell
d48beb0c0f
AP_InertialSensor: converted PX4 driver to new API
10 years ago
Andrew Tridgell
ec11417705
AP_InertialSensor: converted HIL backend, which gets SITL working
10 years ago
Andrew Tridgell
448efc70a3
AP_InertialSensor: first steps in frontend/backend split
...
This converts the MPU6000 driver to a frontend/backend structure, and
disables all other drivers. They will be progressively re-enabled as
each is converted
10 years ago
Randy Mackay
834f2bea07
INS: add gyro_calibrated_ok_all method
...
This returns true if the gyros have been calibrated successfully
10 years ago
Randy Mackay
0803d79701
INS: param descriptions for ACC2, GYR2
11 years ago
Randy Mackay
74553e523d
INS: add get_accel_health_all and get_gyro_health_all
...
Returns true only if all available accels or gyros are healthy
11 years ago
Randy Mackay
50ae5b2519
InertialSensor: reorder .cpp file to match .h
...
No functional changes
11 years ago
Andrew Tridgell
dcdb53584b
AP_InertialSensor: use lockless structures in MPU9250 driver
...
this avoids suspending timers when transferring data between main
thread and SPI read thread
11 years ago
Andrew Tridgell
5c9e5fbc11
AP_InertialSensor: removed use of hrt_absolute_time()
11 years ago
Andrew Tridgell
a14f8dbd0a
AP_InertialSensor_MPU9250: use micros64() and millis64()
11 years ago
Andrew Tridgell
3c2ab31415
AP_InertialSensor: get rid of data_ready for MPU9250
...
when running off a 1kHz timer and reading at 1kHz it is better to
double sample than it is to skip a sample, as skipping samples will
throw the filter off, whereas a double sample will have minimal effect
11 years ago
Andrew Tridgell
9e01c657e5
AP_InertialSensor: update MPU9250 driver for 1kHz operation
...
use a time base sample wait, with 1kHz sampling
11 years ago
Andrew Tridgell
532e9aace4
AP_InertialSensor: fixed timer bug in HIL sensors
11 years ago
Andrew Tridgell
12239de00d
AP_InertialSensor: fix data_ready return for L3GD20
11 years ago
Andrew Tridgell
7286e7acd2
AP_InertialSensor: fixed build errors on APM2
11 years ago
Andrew Tridgell
50068a7c6a
AP_InertialSensor: fixed default orientation for PXF board MPU9250
11 years ago
Víctor Mayoral Vilches
5e5319e23b
AP_InertialSensor: MPU9250 cleaning
11 years ago
Víctor Mayoral Vilches
df1de4efd6
AP_InertialSensor: Driver added for the LSM303D
11 years ago
Víctor Mayoral Vilches
8968647873
AP_InertialSensor: INS_generic example, add support L3GD20
11 years ago
Víctor Mayoral Vilches
0f908a8ccd
HAL_Linux: Add L3GD20 to the AP_InertialSensor header
11 years ago
Víctor Mayoral Vilches
556d46a4ef
AP_InertialSensor: L3GD20 driver added
...
L3GD20 gyro userspace sensor added. The driver constructs
over the implementation of the PX4 Dev Team at
https://github.com/diydrones/PX4Firmware .
11 years ago
Víctor Mayoral Vilches
bfacf08c30
HAL_Linux: LSM9DS0 legacy driver moved to AP_InertialSensor/LSM9DS0/
...
The new LSM9DS0 driver will consist of the AP_InertialSensor_L3GD20 and
the AP_InertialSensor_LSM303D. For that reason the old LSM9DS0
(consisting of gyro and accel+mag implemented on a single class) has
been moved to a folder.
Legacy LSM9DS0 didn't probe to receive "correct" data.
11 years ago
Randy Mackay
51f40fe3d6
INS: add accessor for mpu6k filter
11 years ago
Randy Mackay
0e7cbd28c8
INS_HIL: init members to resolve compiler warnings
11 years ago
Andrew Tridgell
24251a7e12
AP_InertialSensor: fixed example build
11 years ago
Andrew Tridgell
984064f3d3
AP_InertialSensor: fixed example build
11 years ago
Mikhail Avkhimenia
34da221c3d
AP_InertialSensor: Use MPU9250 DRDY pin only on boards that support it
11 years ago
Andrew Tridgell
f8ceccce32
AP_InertialSensor: improved HIL timing consistancy
...
try to keep the average time for each sample right
11 years ago
Andrew Tridgell
1d4d848300
AP_InertialSensor: fixed a build warning
11 years ago
Andrew Tridgell
ed6ab5f1d3
AP_InertialSensor: use bool for blocking_read()
...
uint8_t return was confusing
11 years ago
Michael Carpenter
b4c0e1215b
AP_InertialSensor: Use return value of blocking_read to handle calibration timeouts
11 years ago
Andrew Tridgell
cc735a4200
AP_InertialSensor: some more debug info for VibTest
11 years ago
Andrew Tridgell
f7b01a6f3f
AP_InertialSensor: avoid integer underflow in mavlink txspace check
11 years ago
Andrew Tridgell
662276597a
AP_InertialSensor: fixed example build
11 years ago
Andrew Tridgell
79f453dfd3
AP_InertialSensor: use LSM9DSO_AM device
11 years ago
Randy Mackay
6baedbda1d
AP_InertialSensor: add empty virtual destructor
11 years ago
Randy Mackay
a09f7b9198
AP_InertialSensor_MPU6k: init members to reduce compiler warnings
11 years ago
Randy Mackay
c5a03ea18e
AP_InertialSensor: init members to reduce compiler warnings
11 years ago
LukeMike
85fc72c57c
AP_InertialSensor: VRBRAIN added 3th inertial sensor
11 years ago
Andrew Tridgell
0f724c1d7a
AP_InertialSensor: removed per-device example code
...
now can use a single generic test for all boards
11 years ago