ardupilot/libraries/AP_Compass
Lucas De Marchi c66c9c41f2 AP_Compass: HMC5843: be agnostic to I2C bus
Like was done to inertial AK8963 and inertial sensor move the decision
regarding the I2C bus to the caller. We don't allow changing the address
because apparently HMC5843 doesn't support different addresses.

Changing only the bus could be more easily done but this prepares the
ground for using HMC5843 on an AuxiliarBus.

The need for a more generic abstraction is evidenced by this commit: a
"SerialBus" in AP_HAL would be a nice addition rather than letting each
driver to provide its own. However the methods are a little bit
different from what we have in AK8963. It's safer to do the simple
conversion now and later on to add the abstraction changing everybody to
use it.
2015-08-28 12:39:09 +10:00
..
examples/AP_Compass_test AP_Compass: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_Compass_AK8963.cpp AP_Compass: AK8963: refactor constructors 2015-08-28 12:39:08 +10:00
AP_Compass_AK8963.h AP_Compass: AK8963: refactor constructors 2015-08-28 12:39:08 +10:00
AP_Compass_Backend.cpp AP_Compass: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_Compass_Backend.h AP_Compass: use state array for compass variables 2015-03-13 18:46:15 +11:00
AP_Compass_HIL.cpp AP_Compass: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_Compass_HIL.h AP_Compass: setup HIL/SITL for two compasses 2015-05-16 07:06:04 +10:00
AP_Compass_HMC5843.cpp AP_Compass: HMC5843: be agnostic to I2C bus 2015-08-28 12:39:09 +10:00
AP_Compass_HMC5843.h AP_Compass: HMC5843: be agnostic to I2C bus 2015-08-28 12:39:09 +10:00
AP_Compass_PX4.cpp AP_Compass: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_Compass_PX4.h AP_Compass: removed two unused functions 2015-03-14 08:52:37 +11:00
AP_Compass.h AP_Compass: use state array for compass variables 2015-03-13 18:46:15 +11:00
Compass_learn.cpp Compass: Improved field rounding in learning 2015-07-06 11:31:58 +10:00
Compass.cpp AP_Compass: HMC5843: be agnostic to I2C bus 2015-08-28 12:39:09 +10:00
Compass.h AP_Compass: pass backend instead of pointer to function 2015-08-28 12:39:08 +10:00
keywords.txt Compass: fixup line endings 2014-04-15 15:56:57 +09:00