Andrew Tridgell
ab7e96b9de
AP_InertialSensor: updates for ERLE board type
11 years ago
Victor Mayoral Vilches
44320708a7
AP_InertialSensor_MPU9150: I2C userspace driver sensor added.
...
The MPU9150 is a 9 axis sensor that includes 3 accelerometers,
3 gyroscopes and 3 magnetometers. All accessible through I2C.
The AP_InertialSensor_MPU9150 class allows APM to use this sensor.
11 years ago
Randy Mackay
7e04b5d1f1
INS: calibrated method checks all accelerometers
11 years ago
Andrew Tridgell
d325f630e5
VibTest: added sample timing to console output
11 years ago
Andrew Tridgell
863e7a5f93
VibTest: fixed array bounds error
11 years ago
Andrew Tridgell
2c8240dbb4
VibTest: fixed gyro timestamps in logs
...
it was using the accel timestamps
11 years ago
Andrew Tridgell
d50d5b8f24
VibTest: fixed sample count output on console
11 years ago
Andrew Tridgell
03770c4d34
VibTest: added gyro data and support 3 sensors
...
will be used for vibration testing on FMUv3
11 years ago
Andrew Tridgell
ca12592448
AP_InertialSensor: allow for 3 accels and 3 gyros on Pixhawk
...
this supports FMUv3
11 years ago
Andrew Tridgell
ece01da10e
AP_InertialSensor: fixed _dump_registers() for MPU6000
...
need to take the semaphore to prevent bus errors
11 years ago
LukeMike
8f552d5758
VRBRAIN: Changed the management of VirtualRobotix's boards.
11 years ago
Andrew Tridgell
4c43cd9775
AP_InertialSensor: fixes for HAL_GPIO_*
11 years ago
Andrew Tridgell
65fd25fb5a
AP_InertialSensor: fixed example build
11 years ago
Andrew Tridgell
8533aecf18
AP_InertialSensor: fixed example build
11 years ago
Andrew Tridgell
086142580a
AP_InertialSensor: added VibTest sketch
...
logs all accel data at high rate to SD card
11 years ago
Emile Castelnuovo
06744ea7d2
AP_InertialSensor: new files and definitions for VRBRAIN board
11 years ago
Andrew Tridgell
2763393908
AP_InertialSensor: fixed some compiler warnings
11 years ago
Andrew Tridgell
731f980327
AP_InertialSensor: fixed example build
11 years ago
Jonathan Challinger
e81d2e9584
AP_InertialSensor: Correct out-of-bounds array access that was causing SITL to crash
11 years ago
Andrew Tridgell
2c85a7ba56
AP_InertialSensor: expose get_primary_accel() for use in AHRS
11 years ago
Andrew Tridgell
840f1b9a1e
AP_InertialSensor: make HIL timing more accurate
...
needed for 400Hz replay
11 years ago
Andrew Tridgell
6732d6c79b
AP_InertialSensor: enable get_accel_count() and get_gyro_count() APIs for HIL
11 years ago
Andrew Tridgell
0e18079c47
AP_InertialSensor: allow HIL sensors to support multiple instances
...
this allows log replay to test both sets of sensors on a Pixhawk log
11 years ago
Randy Mackay
33fe778cdd
InertialSensor_PX4: resolve compiler warning
11 years ago
Andrew Tridgell
fe0cb23733
AP_InertialSensor: fixed HIL for 400Hz INS
11 years ago
Mike McCauley
2c94a40310
AP_InertialSensor: AP_InertialSensor_Flymaple Remove unnecessary
...
comment
11 years ago
Mike McCauley
dd6abb49a9
AP_InertialSensor: AP_InertialSensor_Flymaple::healthy() was required after
...
all.
11 years ago
Mike McCauley
0a43cf8c5c
AP_InertialSensor: AP_InertialSensor_Flymaple removed redundant definition of
...
healthy().
11 years ago
Mike McCauley
f7279aa13f
AP_InertialSensor: AP_InertialSensor_Flymaple implement get_gyro_health
...
and get_accel_health.
11 years ago
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