mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-19 23:28:32 -04:00
c66c9c41f2
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. |
||
---|---|---|
.. | ||
examples/AP_Compass_test | ||
AP_Compass_AK8963.cpp | ||
AP_Compass_AK8963.h | ||
AP_Compass_Backend.cpp | ||
AP_Compass_Backend.h | ||
AP_Compass_HIL.cpp | ||
AP_Compass_HIL.h | ||
AP_Compass_HMC5843.cpp | ||
AP_Compass_HMC5843.h | ||
AP_Compass_PX4.cpp | ||
AP_Compass_PX4.h | ||
AP_Compass.h | ||
Compass_learn.cpp | ||
Compass.cpp | ||
Compass.h | ||
keywords.txt |