Andrew Tridgell
755dc8dc5d
AP_InertialSensor: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Michael du Breuil
f51d757844
AP_InertialSensor: Remove unused (and conflicting in some builds) include
6 years ago
Peter Barker
04c36efdbf
AP_InertialSensor: eliminate SITL float-equals issues
7 years ago
Michael du Breuil
1efad07a84
AP_InertialSensor: Remove unused ADC include
7 years ago
Andrew Tridgell
5f8b57ba19
AP_InertialSensor: added SITL device IDs
7 years ago
Lucas De Marchi
49d08ba72a
Global: remove minlure
...
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.
It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
7 years ago
Patrick José Pereira
0c06bf89e5
AP_InertialSensor: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Andrew Tridgell
89b8124560
AP_InertialSensor: added BMI055 IMU driver
7 years ago
Andrew Tridgell
bfa66c9397
AP_InertialSensor: detect two IMUs on FMUv5
7 years ago
Francisco Ferreira
8b32960d3e
AP_InertialSensor: remove Qualcomm board support
7 years ago
Peter Barker
1a640e3405
AP_InertialSensor: parameterise sensor-rate logging, generalise it
...
AP_InertialSensor: add parameters for push-to-log interval and count
AP_InertialSensor: rename BAT_RAW to BAT_OPT
This becomes a bitmask of options for the BatchSampler
AP_InertialSensor: rename 'fast sample' to 'sensorrate sample'
AP_InertialSensor: const sensor-rate filter method
AP_InertialSampler: remove hard-coding of sample rate multiplier
AP_InertialSensor: use parameter to enable/disable sensor-rate logging
AP_InertialSensor: use a parameter to control sensor-rate logging
AP_InertialSensor: allow backends to override sensor data multiplier
e.g. some accelerometers are sensitive over wider ranges than the default 16G
AP_Inertialsensor: correct sample rate multiplier
7 years ago
Andrew Tridgell
44131202cd
AP_InertialSensor: 4kHz batch sampling
7 years ago
Jacob Walser
ad4e928e7d
AP_InertialSensor: add support for custom board orientations
7 years ago
Andrew Tridgell
ca9d1a55fe
AP_InertialSensor: support ICM-20689 IMU
...
like the 20789, but without the baro
7 years ago
Andrew Tridgell
ea2dc9b831
AP_InertialSensor: added OMNIBUSF7V2 INS sensors
...
a dual-IMU board
7 years ago
Andrew Tridgell
f788cde5c7
AP_InertialSensor: use multiply for fifo scale factors
...
this fixes issue from #8118 too
7 years ago
Peter Barker
be634a893f
AP_InertialSensor: remove unused ins error count logging
7 years ago
Peter Barker
aca87ab638
AP_InertialSensor: remove pointless initialisations
...
AP_InertialSensor: avoid pointless zeroing in constructor
AP_InertialSensor is either in bss or is created via new (which zeroes
memory)
7 years ago
Peter Barker
2396a248ed
AP_InertialSensor: use ahrs singleton for simple accelcal
7 years ago
Lucas De Marchi
c4e8aeb105
AP_InertialSensor: remove linux-only include
...
We already include AP_HAL.h that includes the platform-agnostic gpio
header, which is all that this driver needs. This is an alternative
fix to #7794 .
7 years ago
Andrew Tridgell
53b76efbd2
AP_InerialSensor: setup INT_PIN_CFG correctly
...
this restores the behavior lost with the 20789 driver change
7 years ago
Andrew Tridgell
e8726865ab
AP_InertialSensor: Correct scaling of batch data
7 years ago
Andrew Tridgell
455c0e25e1
AP_InertialSensor: allow for HAL_INS_NONE
7 years ago
Peter Barker
4288133ce0
AP_InertialSensor: correct compiler warning
...
../../libraries/AP_InertialSensor/AP_InertialSensor_Invensense.h:108:14:
warning: private field '_error_count' is not used
[-Wunused-private-field]
uint16_t _error_count;
7 years ago
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