Andrew Tridgell
b61caa9c57
AP_InertialSensor: added SP01 board type
7 years ago
Peter Barker
096f7367bf
AP_InertialSensor: add ins() to AP:: namespace
7 years ago
Andrew Tridgell
b5e5b622c7
AP_InertialSensor: use register header for Revo driver
7 years ago
Andrew Tridgell
0e6497aa85
AP_InertialSensor: merged in Revo driver
7 years ago
Andrew Tridgell
b380143349
AP_InertialSensor: improved handling of I2C invensense sensor
...
on I2C the lower bus bandwidth changes the tradeoffs
7 years ago
Andrew Tridgell
b33c815e96
AP_InertialSensor: added whoami for prototype 20789
7 years ago
Andrew Tridgell
ad8db6cda3
AP_InertialSensor: added sensor type ICM20789_SPI
7 years ago
Andrew Tridgell
b9e5649888
AP_InertialSensor: support PCNC1
7 years ago
Peter Barker
71cf3941a7
AP_InertialSensor: move Invensense register defines into separate file
7 years ago
Peter Barker
3ee112843c
AP_InertialSensor: configure bypass for 20789 like we do for AK8963
7 years ago
Peter Barker
5d94172ada
AP_InertialSensor: remove clearing of BIT_USER_CTRL_I2C_MST_EN bit in user_ctrl
...
This bit should never be set on 20789
7 years ago
Andrew Tridgell
5a4f0fed2d
AP_InertialSensor: added ICM-20789 support
7 years ago
Andrew Tridgell
f4521772c1
AP_InertialSensor: don't try fast sampling on a MPU6500
...
it can't do it
7 years ago
Andrew Tridgell
d575d676b6
AP_InertialSensor: fixed another transfer without bus semaphore
7 years ago
Andrew Tridgell
2ffb8d1583
AP_InertialSensor: fixed a bug where bus semaphore not held
...
during init of the invensense driver we could do a transfer without
the bus semaphore held. That violates the locking rules for the bus
7 years ago
Igor Anokhin
e6d4b2a087
AP_InertialSensor: add LSM9DS1 entry
...
Enable LSM9DS1 in case it is selected
7 years ago
Igor Anokhin
be386b2b73
AP_InertialSensor: LSM9DS1 add FIFO support
...
Make reading data with FIFO
7 years ago
Igor Anokhin
44d5112488
AP_InertialSensor: add LSM9DS1 support
...
Make LSM9DS1 driver
7 years ago
LukeMike
502f19cbae
VRBRAIN / AP_InertialSensor: added inertial sensors init for VR Brain boards
7 years ago
Randy Mackay
9ea16bec15
AP_InertialSensor: resolve compiler warning in example
7 years ago
Andrew Tridgell
100363ba03
AP_InertialSensor: if no sensors found allow parameter change
7 years ago
Andrew Tridgell
24c424ae5d
AP_InertialSensor: support over 1kHz IMUs
...
this allows for invensense IMUs to run above 1kHz by adjusting the
downsampling rate
7 years ago
Andrew Tridgell
c0c5f23aa5
AP_InertialSensor: added INS_ENABLE_MASK
...
this allows for only a specified subset of IMUs to be probed, so you
can disable IMUs that aren't needed.
The back corresponds to bits in the order the IMUs are normally probed
on the board
7 years ago
Andrew Tridgell
9416165fe3
AP_InertialSensor: improved invensense debugging on ChibiOS
7 years ago
Andrew Tridgell
8ab35e8aca
AP_InertialSensor: fixed MindPX-v2 orientation of IMU2
7 years ago
Andrew Tridgell
dcab40459d
AP_InertialSensor: support MindPX-v2
7 years ago
Andrew Tridgell
febe414766
AP_InertialSensor: disable fast sampling on 2nd IMU on Pixracer
...
it also hosts a mag, and gets lots of FIFO resets if we try to run it
at 8kHz
7 years ago
Andrew Tridgell
3fc095589c
AP_InertialSensor: support ChibiOS FMUv4
7 years ago
bugobliterator
1c6beaa7c4
AP_InertialSensor: use new API for DMA safe allocation
7 years ago
Andrew Tridgell
39362a81ae
AP_InertialSensor: support ChibiOS
7 years ago
Tom Pittenger
36f06d3576
AP_InertialSensor: remove AP_InertialSensor_UserInteract
...
leftover dead code from when CLI was removed
7 years ago
Pierre Kancir
8c8767e964
AP_InertialSensor: reduce QURT include scope
7 years ago
Andrew Tridgell
99499dece2
AP_InertialSensor: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Andrew Tridgell
39c206ca03
AP_InertialSensor: limit delta-time from INS
...
limit delta-time to 2x average time
DEBUG CODE - DO NOT MERGE
7 years ago
Andrew Tridgell
a0af4af5b5
AP_InertialSensor: debugging code for EK2 bug
7 years ago
Randy Mackay
38145f9541
AP_InertialSensor: fix param docs for notch and log settings
7 years ago
Peter Barker
161e2145cb
AP_InertialSensor: tighten type of simple_accel_cal result
7 years ago
HeBin
c056076e85
AP_InertialSensor: fix code style problem, delete useless codes
7 years ago
HeBin
efbb030494
AP_InertialSensor: add Robsense PhenixPro Devkit Board support
7 years ago
Andrew Tridgell
eab1d3af4f
AP_InertialSensor: don't apply offsets in SITL backend
...
the offsets are applied in the rotate and correct methods
7 years ago
Peter Barker
b997f445ff
AP_InertialSensor: include sample count in ISBH
7 years ago
Peter Barker
9566abb3a8
AP_InertialSensor: add IMU batch sampling
7 years ago
Peter Barker
5096e2fca9
AP_InertialSensor: use df singleton, factor out log_{gyro,accel}_raw
7 years ago
Alexey Bulatov
069c98b8a9
AP_InertialSensor: Edge: add sensor's rotation YAW_90
7 years ago
Georgii Staroselskii
ac6f7511bd
AP_InertialSensor: examples: print temperature
7 years ago
Georgii Staroselskii
4f2d8f8df4
AP_InertialSensor: use ICM backend for Edge
7 years ago
Andrew Tridgell
6a6f9681ab
AP_InertialSensor: allow for 1,1,1 accel scaling
...
this supports simple accel calibration
7 years ago
Andrew Tridgell
f513c1c8dd
AP_InertialSensor: support rotated IMUs in SITL
7 years ago
Andrew Tridgell
d5cab1140a
AP_InertialSensor: added simple_accel_cal()
...
this is useful for mass market vehicles where a full 3D accel cal is
too complex.
7 years ago
Lucas De Marchi
b05610870c
global: use static method to construct AP_Rally
7 years ago