Andrew Tridgell
7d57f00ca0
AP_Compass: removed debug line
...
this is now common when using in-tree drivers
8 years ago
Andrew Tridgell
f62972d966
AP_Compass: fixed build on bhat
...
enable both compasses if found
8 years ago
Andrew Tridgell
1f403b02ef
AP_Compass: switch to continuous 155Hz mode for LIS3MDL
8 years ago
Andrew Tridgell
62805f59fa
AP_Compass: added AK09916 driver
...
yet another magnetometer!
8 years ago
Andrew Tridgell
17a117b324
AP_Compass: be a bit less verbose in startup
8 years ago
Andrew Tridgell
0e4b8781b2
AP_Compass: auto-detect LIS3MDL compass
8 years ago
Andrew Tridgell
b6b2919126
AP_Compass: don't panic on too many compasses
...
just use the first ones found. Panicing because you have too many
isn't useful
8 years ago
Andrew Tridgell
40ef68f104
AP_Compass: added a LIS3MDL compass driver
8 years ago
Lucas De Marchi
c6b0a71c47
AP_Compass: Calibrator: use inplace initializer on array
8 years ago
Siddharth Bharat Purohit
b36ee10e7c
AP_Compass: fix wrong memset in compass calibrator
8 years ago
Andrew Tridgell
e4454c5056
AP_Compass: setup for new PX4 board IDs
8 years ago
Andrew Tridgell
0eac781559
AP_Compass: don't run the AK8963 on the external MPU9250
...
this saves us one mag slot for another external mag, and leaves the
primary MPU9250 undisturbed by the mag traffic on the bus
8 years ago
Andrew Tridgell
3d5c57c5dc
AP_Compass: fixed orientation of PH2 in-tree compass drivers
8 years ago
Andrew Tridgell
4ba00720aa
AP_Compass: make init() private
...
not called from frontend
8 years ago
Andrew Tridgell
c68a6451cb
AP_Compass: use in-tree drivers for PH2SLIM
8 years ago
Andrew Tridgell
4602b4d679
AP_Compass: improve init and calibration of hmc5843
8 years ago
Andrew Tridgell
3d48a72f59
AP_C0mpass: switch pixracer to always use in-tree drivers
8 years ago
Andrew Tridgell
b363a65c2e
AP_Compass: enable in-tree drivers for PHMINI
8 years ago
Andrew Tridgell
875fa60452
AP_Compass: fixed external I2C HMC5983 rotation on pixhawk
8 years ago
Andrew Tridgell
bd8867be38
AP_Compass: cope with NULL dev pointer in driver probe functions
8 years ago
Andrew Tridgell
3b53caad87
AP_Compass: keep old hmc5843 ID
...
prevent re-use. thanks to Lucas
8 years ago
Andrew Tridgell
02c2ba1331
AP_Compass: fixed dup semaphore bug
...
thanks to Lucas for spotting this!
8 years ago
Andrew Tridgell
f31a017ace
AP_Compass: changes to HMC5843 driver
...
this makes the HMC5843 use single-shot mode, which makes it more
robust to bus resets. It also adds WHOAMI checking and enables
automatic temperature compensation.
Unfortunately this makes existing calibration values incompatible, so
a re-cal is required. The device ID has been changed to reflect the
driver change.
8 years ago
Andrew Tridgell
05769640d1
AP_Compass: support rotations on AK8963
8 years ago
Andrew Tridgell
2716ab8408
AP_Compass: added support for per-instance rotations
8 years ago
Andrew Tridgell
fac895b0e6
AP_Compass: setup read flag for SPI transfers
8 years ago
Andrew Tridgell
147b253e65
AP_Compass: make device IDs match PX4 drivers
...
match in-tree drivers to PX4Firmware drivers
8 years ago
Andrew Tridgell
de7913e8e9
AP_Compass: implement device IDs for compass drivers
8 years ago
Andrew Tridgell
ac0ea12b42
AP_Compass: enable HMC5843 on SPI for PH2
8 years ago
Andrew Tridgell
1c631ea037
AP_Compass: cleanup use of backend semaphores
...
fixed drivers that didn't protect accumulation counters
8 years ago
Andrew Tridgell
9afd51350e
AP_Compass: use thread per bus in more drivers
...
and removed use of timer suspend
8 years ago
Andrew Tridgell
974827aa82
AP_Compass: enabled AK8963 on PX4
8 years ago
Andrew Tridgell
2e4151d14e
AP_Compass: enable lsm303d mag on FMUv2
8 years ago
Andrew Tridgell
36190ba545
AP_Compass: use thread per bus for lsm303d mag
8 years ago
Andrew Tridgell
7bd52eb112
AP_Compass: allow for in-tree drivers for PX4
8 years ago
Andrew Tridgell
96adfccae3
AP_Compass: switch hmc5983 driver to use periodic callback on the bus
...
this does not yet work with the mpu6000 auxiliary bus
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Peter Barker
e4001e67e2
AP_Compass: add missing parameter metadata
8 years ago
Michael du Breuil
deec4ec6af
Compass: Rework compass calibrator
...
Summary of significant changes:
-Autsave doesn't depend on STREAM_EXTRA3
-Don't risk only saving one compass on copter if CAL_ALWAYS_REBOOT is set
-Only calibrate compasses that are both health and marked for use (there was a inconsistency in handling the mask)
-Fix incorrect failure reporting on DO_ACCEPT_MAG_CAL with a mask of 0 if a channel was specifically not started
-Fix not starting the buzzer if the delay is set to 0 seconds
-Always send MAG_CAL_REPORT until its acknowledged
-Correct the field in MAG_CAL_REPORT for autosave to indicate if the compass had actually been saved, rather then being scheduled to be saved
-Remmove unused public interfaces
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Peter Barker
216a6493c9
AP_Compass: AP_Compass_LSM9DS1: remove unused variable
8 years ago
Lucas De Marchi
ae53920e5b
build: don't build examples with old build system
...
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.
8 years ago
Andy Little
0d113b265c
Examples: fix examples for px4
...
The change to use AP_BoardConfig messed up the examples. Here are some
updated but there are plenty more to do.
8 years ago
Andrew Tridgell
36ea946cf5
AP_Compass: use board defined compass ofs max in calibrator
8 years ago
Jonathan Challinger
17fb7dc88f
AP_Compass: initialize offset before beginning sphere fit
8 years ago
Jonathan Challinger
419f1bc00e
AP_Compass: change fixed point format for more range
8 years ago
Jonathan Challinger
0652d71a72
AP_Compass: correct wrapping behavior in conversion to fixed point
8 years ago
Andrew Tridgell
f82827ce79
AP_Compass: removed disco special compass offsets
...
not needed any more with newer hardware
9 years ago
Randy Mackay
ba5db0c5d8
Compass: add CAL_FIT parameter description values
...
No functional change
9 years ago
José Roberto de Souza
13287f61e3
AP_Compass: Make COMPASS_AERO probe BMM150
9 years ago