ardupilot/libraries/AP_Compass
Lucas De Marchi e232543fca AP_Compass: AK8963: change initialization and rename methods
We need to check the AK8963's id before anything else Here we are
reordering the calls to _calibrate() and _check_id(). After that we
don't need to read and write again the AK8963_CNTL1 register.

While at it do some renames as well:
	- _configure() -> _setup_mode(): since now there's a
 	  _bus->configure() it became confusing what actually it's
	  doing.
	- make error messages say what we were actually trying to do but
	  couldn't. Also remove PSTR since this is linux-only.
	- start_conversion() -> start_measurements():  We are instructing the
          bus to start to get the samples, not to tell the chip to start an
          analog->digital conversion like in other sensors.
2015-07-23 17:44:35 +10:00
..
examples/AP_Compass_test AP_Compass: convert example from .pde to .cpp 2015-06-01 16:58:11 +10:00
AP_Compass_AK8963.cpp AP_Compass: AK8963: change initialization and rename methods 2015-07-23 17:44:35 +10:00
AP_Compass_AK8963.h AP_Compass: AK8963: change initialization and rename methods 2015-07-23 17:44:35 +10:00
AP_Compass_Backend.cpp Compass: add last_update_usec per instance 2015-07-17 10:02:41 +09: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: use ARRAY_SIZE macro 2015-07-21 14:25:17 +09: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 Compass: set device id for ak8963 and hmc5843 2015-07-06 21:04:46 +09:00
AP_Compass_HMC5843.h AP_Compass: removed two unused functions 2015-03-14 08:52:37 +11:00
AP_Compass_PX4.cpp AP_Compass: removed spurious rotation in PX4 backend 2015-03-14 08:52:37 +11: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 Compass: add last_update_usec per instance 2015-07-17 10:02:41 +09:00
Compass.h Compass: add last_update_usec per instance 2015-07-17 10:02:41 +09:00
keywords.txt Compass: fixup line endings 2014-04-15 15:56:57 +09:00