Andrew Tridgell
|
f9d0747750
|
AP_InertialSensor: fixed example build
|
11 years ago |
Andrew Tridgell
|
3617c65af7
|
AP_InertialSensor: make HIL treat time like PX4 does
|
11 years ago |
Andrew Tridgell
|
b1c5f23bbd
|
AP_InertialSensor: make get_delta_time() const
allows use from AP_NavEKF
|
11 years ago |
Randy Mackay
|
b7565affcd
|
INS: add support for 400hz for PX4
|
11 years ago |
Andrew Tridgell
|
a95a3142e0
|
AP_InertialSensor: use fixed size arrays
apparently helps SITL build on MacOS
|
11 years ago |
Andrew Tridgell
|
045efdb084
|
AP_InertialSensor: fixed example builds
|
11 years ago |
Andrew Tridgell
|
58d3729d16
|
AP_InertialSensor: fixed default health functions
this fixes INS on APM1. Thanks to Mike McCauley for noticing this!
|
11 years ago |
Don Gagne
|
68b3b31499
|
Param doc typo
|
11 years ago |
Randy Mackay
|
965e5b2dfd
|
INS: check for good calibration for 10seconds
Shortened gyro calibration commit also halved the total time we would
look for a good gyro calibration. This restores the total time to 10
seconds.
|
11 years ago |
Randy Mackay
|
1f76ada9dd
|
INS: shortened gyro calibration
Removed delays before calibration, reduced number of samples taken,
widened convergence criteria
|
11 years ago |
Randy Mackay
|
a400ddeb88
|
INS: replace APM with vehicle in accel calibrate
|
11 years ago |
Andrew Tridgell
|
8dd34f8bc4
|
AP_InertialSensor: fixed example build
|
11 years ago |
Andrew Tridgell
|
6d39cf5e49
|
AP_InertialSensor: another attempt at fixing the spurious bad gyro health warnings
cope with _get_sample() not being called for a while
|
11 years ago |
Andrew Tridgell
|
99e2dc87c9
|
AP_InertialSensor: prevent INS healthy errors while initialising
during gyro cal we shouldn't mark the gyro unhealthy
|
11 years ago |
Andrew Tridgell
|
23a112c5d5
|
AP_InertialSensor: reduce the number of format string warnings
|
11 years ago |
Andrew Tridgell
|
433ad19335
|
AP_InertialSensor: fixed loop limits
stops pointless operations
|
11 years ago |
Andrew Tridgell
|
e54fc6b8e3
|
AP_InertialSensor: make sure we wait for a sample before update()
|
11 years ago |
Andrew Tridgell
|
cba0cb963a
|
AP_InertialSensor: auto-failover to working gyro and accel
|
11 years ago |
Andrew Tridgell
|
a0688a69d4
|
AP_InertialSensor: generalise the accel/gyro calibration for N sensors
|
11 years ago |
Andrew Tridgell
|
d9b6f7f0f7
|
AP_InertialSensor: implement up to two sensors on PX4
|
11 years ago |
Andrew Tridgell
|
2753449e75
|
AP_InertialSensor: added support for multiple accel/gyro devices
this makes it possible to ask for the gyro and accel vectors from
secondary INS devices.
|
11 years ago |
Randy Mackay
|
fd9b115d01
|
INS: move Product ID to @User Advanced
|
11 years ago |
Andrew Tridgell
|
71bb462ad0
|
AP_InertialSensor: use fabsf()
|
11 years ago |
Andrew Tridgell
|
aef9289476
|
AP_InertialSensor: added INS_PRODUCT_ID values
|
11 years ago |
Andrew Tridgell
|
f10a4b04ae
|
AP_InertialSensor: make PX4 healthy call _get_sample()
this prevents a false positive during times like arming where we are
not reading the sensors
|
11 years ago |
Andrew Tridgell
|
80def01fbe
|
AP_InertialSensor: fixed semaphore error on startup for MPU6000
|
11 years ago |
Andrew Tridgell
|
f5299e2e11
|
AP_InertialSensor: added healthy check for PX4 and HIL
used to detect bad accels
|
11 years ago |
Andrew Tridgell
|
9ecd889e9d
|
AP_InertialSensor: detect bad MPU6000 SPI transactions and lower bus speed
this uses bad data or bad INT_STATUS values from the MPU6000 to detect
the sensor running too fast and lower bus speed
|
11 years ago |
Andrew Tridgell
|
b98bcbf715
|
AP_InertialSensor: automatically lower bus speed on mpu6k bad reads
|
11 years ago |
Andrew Tridgell
|
bdc40cc7df
|
AP_InertialSensor: try to lower SPI bus speed on errors
|
11 years ago |
Andrew Tridgell
|
1cd070a2e7
|
AP_InertialSensor: use const reference returns
saves some vector copies
|
11 years ago |
Andrew Tridgell
|
f4dde44b8d
|
AP_InertialSensor: SITL doesn't use Oilpan code any more
|
11 years ago |
Mike McCauley
|
fe6cacf081
|
AP_InertialSensor: Minor correction to comments in AP_InertialSensor_Flymaple.cpp
|
11 years ago |
Andrew Tridgell
|
7831113f84
|
AP_InertialSensor: yield the CPU for the right time in wait_for_sample()
this improves timing performance
|
11 years ago |
Andrew Tridgell
|
8532e2bff8
|
AP_InertialSensor: fixed timing of PX4 sensor samples
|
11 years ago |
Andrew Tridgell
|
9833900f91
|
AP_InertialSensor: run MPU6000 sensor register reads at 8MHz
run other register IO at 500kHz
|
11 years ago |
Andrew Tridgell
|
b3af59cc0c
|
AP_InertialSensor: don't build L3G4200D example
|
11 years ago |
Andrew Tridgell
|
a04c056598
|
AP_InertialSensor: remove unused get_last_sample_time_micros()
|
11 years ago |
Andrew Tridgell
|
5d685385eb
|
AP_InertialSensor: use gyro sample count on L3G4200D
this gives more even timing in ArduCopter
|
11 years ago |
Andrew Tridgell
|
6444b0bddd
|
AP_InertialSensor_L3G4200D: a sample is only available if gyro had a sample
|
11 years ago |
Andrew Tridgell
|
e5e4cdee18
|
AP_InertialSensor: added wait_for_sample() API call
this waits for a new INS sample to arrive, using whatever method is
most efficient on each INS type
|
11 years ago |
Andrew Tridgell
|
c17a5e5ed1
|
AP_InertialSensor: added a small delay in accel calibration
allows threads to run on Linux
|
11 years ago |
Andrew Tridgell
|
12af23bb7c
|
AP_InertialSensor: added L3G4200D example
|
11 years ago |
Andrew Tridgell
|
1aabd7155e
|
AP_InertialSensor: added L3G4200D driver
this is for a cheap ebay 10DOF sensor
|
11 years ago |
Mike McCauley
|
c90c1b9998
|
AP_InertialSensor: Improvements to Flymaple sensors
Fix a bug that caused hang after 71 minutes. Use I2CDriver semaphore.
Remove test for in_accumulate: not needed.
|
12 years ago |
Mike McCauley
|
9ea1108d4e
|
AP_InertialSensor: Flymaple filter constructor arguments non non-zero
|
12 years ago |
Andrew Tridgell
|
dda68bddcb
|
AP_InertialSensor: updates for AP_HAL::MemberProc
|
12 years ago |
Andrew Tridgell
|
1191607036
|
AP_InertialSensor: enable Oilpan on Linux
|
12 years ago |
Andrew Tridgell
|
cf726c6642
|
AP_InertialSensor: rename Stub to HIL
more consistent with other drivers
|
12 years ago |
Andrew Tridgell
|
03036c632d
|
AP_InertialSensor: use new scheduler API
|
12 years ago |