ardupilot/libraries
Gustavo Jose de Sousa b603641d7c AP_Compass: AK8963: fix where to apply sensitivity adjustments
The function rotate_field() can change the values axes and the function
correct_field() applies offsets (which are already in milligauss). Thus any
sensitivity adjustment must be done for two reasons:

    (1) The offsets must be applied to the values already in milligauss;
    (2) The factory sensitivity adjustment values are per axis, if any rotation
        that switches axes is applied, that'll mess with the adjustment.

Experiments showed that before this patch the length of the mag field reported
quite different from the expected. After this patch, the same experiments
showed reasonable values.
2015-10-15 19:56:13 +09:00
..
AC_AttitudeControl AC_AttitudeControl: use non-flybar leaky I handling 2015-09-25 12:05:43 +10:00
AC_Fence AC_Fence: standardize inclusion of libaries headers 2015-08-11 16:28:41 +10:00
AC_PID AC_PID_test: fixed AC_HELI_PID constructor 2015-08-31 13:45:13 +09:00
AC_PrecLand AC_PrecLand: add companion computer implementation 2015-09-11 20:56:08 +09:00
AC_Sprayer AC_Sprayer: standardize inclusion of libaries headers 2015-08-11 16:28:41 +10:00
AC_WPNav AC_WPNav: loiter limits lean angle for alt loss 2015-09-07 15:10:11 +09:00
AP_ADC AP_ADC: standardize inclusion of libaries headers 2015-08-11 16:28:41 +10:00
AP_ADC_AnalogSource AP_ADC_AnalogSource: standardize inclusion of libaries headers 2015-08-11 16:28:41 +10:00
AP_AHRS AP_AHRS: use compass get_{field,offsets}() functions 2015-10-15 19:56:00 +09:00
AP_Airspeed AP_Airspeed: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_Arming AP_Arming: use compass get_{field,offsets}() functions 2015-10-15 19:56:01 +09:00
AP_Baro AP_Baro_MS5611: suspend timer when init to prevent other SPI drivers grabbing the bus. 2015-10-02 09:54:55 +10:00
AP_BattMonitor AP_BattMonitor: use method for downcast 2015-09-23 09:01:29 +10:00
AP_BoardConfig AP_BoardConfig: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_Buffer AP_Buffer: change pop_front to return a bool if successful 2014-10-20 08:26:14 +11:00
AP_Camera AP_Camera: fix configure command id sent to components 2015-09-16 13:06:46 +09:00
AP_Common AP_Common: give some type safety to ARRAY_SIZE macro 2015-09-28 18:20:14 +10:00
AP_Compass AP_Compass: AK8963: fix where to apply sensitivity adjustments 2015-10-15 19:56:13 +09:00
AP_Curve AP_Curve: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_Declination AP_Declination: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_EPM AP_EPM: standardize inclusion of libaries headers 2015-08-11 16:28:42 +10:00
AP_Frsky_Telem AP_Frsky_Telem: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_GPS AP_GPS_GSOF: minor tweak to avoid warning 2015-10-10 14:34:54 +09:00
AP_HAL AP_HAL: Add support for a Heater 2015-10-06 15:21:39 +11:00
AP_HAL_AVR AP_HAL_AVR: remove unused write method 2015-09-29 11:53:40 +09:00
AP_HAL_Empty AP_HAL_Empty: remove unused write method 2015-09-29 11:53:42 +09:00
AP_HAL_FLYMAPLE AP_HAL_FLYMAPLE: remove unused write method 2015-09-29 11:53:44 +09:00
AP_HAL_Linux AP_HAL_Linux: add support for a pwm heater 2015-10-06 15:21:39 +11:00
AP_HAL_PX4 AP_HAL_PX4: remove unused write method 2015-09-29 11:53:49 +09:00
AP_HAL_SITL AP_HAL_SITL: remove unused write method 2015-09-29 11:53:51 +09:00
AP_HAL_VRBRAIN AP_HAL_VRBRAIN: remove unused write method 2015-09-29 11:53:53 +09:00
AP_InertialNav AP_HAL_InertialNav: standardize inclusion of libaries headers 2015-08-18 17:12:52 +10:00
AP_InertialSensor AP_InertialSensor_MPU6000: Add heat support 2015-10-06 15:21:39 +11:00
AP_IRLock IRLock: replace tabs with spaces 2015-08-31 18:00:33 +09:00
AP_L1_Control AP_L1_Control: standardize inclusion of libaries headers 2015-08-11 16:28:44 +10:00
AP_LandingGear AP_LandingGear: standardize inclusion of libaries headers 2015-08-11 16:28:44 +10:00
AP_Limits AP_Limits: standardize inclusion of libaries headers 2015-08-11 16:38:18 +10:00
AP_Math AP_Math: remove duplicate RADIUS_OF_EARTH definition 2015-10-05 21:00:14 +09:00
AP_Menu AP_Menu: Fix warning 2015-10-06 10:36:22 +11:00
AP_Mission AP_Mission: added flight stage FLIGHT_LAND_ABORT 2015-09-09 09:04:24 +10:00
AP_Motors AP_Motors: Group writes to motors 2015-10-06 10:42:18 +11:00
AP_Mount Mount: add param descriptions to allow RC9 ~ RC12 inputs to be used to control gimbal 2015-09-29 16:41:51 +09:00
AP_NavEKF AP_NavEKF: use compass get_{field,offsets}() functions 2015-10-15 19:56:03 +09:00
AP_NavEKF2 AP_NavEKF2: Critical big fix - states not initialised 2015-10-15 09:52:55 +11:00
AP_Navigation AP_Navigation: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Notify AP_Notify: added support for raspilot LED 2015-09-14 14:22:16 +10:00
AP_OpticalFlow AP_OpticalFlow: standardize inclusion of libaries headers 2015-08-11 16:38:21 +10:00
AP_Parachute AP_Parachute: standardize inclusion of libaries headers 2015-08-11 16:38:21 +10:00
AP_Param AP_Param: Add parameter to print out all the keys/indexes 2015-09-02 11:12:31 +10:00
AP_PerfMon AP_PerfMon: standardize inclusion of libaries headers 2015-08-11 16:38:22 +10:00
AP_Progmem AP_Progmem: standardize inclusion of libaries headers 2015-08-11 16:38:22 +10:00
AP_Rally AP_Rally: standardize inclusion of libaries headers 2015-08-11 16:38:23 +10:00
AP_RangeFinder RangeFinder: add User to param descriptions 2015-10-07 14:10:24 +09:00
AP_RCMapper AP_RCMapper: standardize inclusion of libaries headers 2015-08-11 16:38:22 +10:00
AP_Relay AP_Relay: standardize inclusion of libaries headers 2015-08-11 16:38:23 +10:00
AP_RPM AP_RPM: added RPM_MAX parameter 2015-09-25 12:05:43 +10:00
AP_RSSI Copy paste errors and naming issues in documentation help. 2015-09-28 18:17:07 +10:00
AP_Scheduler Scheduler: remove INS start style from example sketch 2015-09-21 17:06:25 +09:00
AP_SerialManager AP_SerialManager: added enum for serial lidar 2015-09-08 16:46:52 +10:00
AP_ServoRelayEvents AP_ServoRelayEvents: standardize inclusion of libaries headers 2015-08-11 16:38:23 +10:00
AP_SpdHgtControl AP_SpdHgtControl: added flight stage FLIGHT_LAND_ABORT 2015-09-09 09:04:24 +10:00
AP_TECS AP_TECS: reformat using astyle 2015-09-16 14:24:45 +10:00
AP_Terrain AP_Terrain: don't allocate cache array when terrain not enabled 2015-09-23 08:31:17 +10:00
AP_Vehicle AP_Vehicle: standardize inclusion of libaries headers 2015-08-11 16:38:24 +10:00
APM_Control APM_Control: Fixed spelling error in parameter desc. 2015-09-16 09:33:27 +09:00
APM_OBC APM_OBC: added severities to send_statustext_all 2015-09-08 14:29:45 +10:00
APM_PI APM_PI: standardize inclusion of libaries headers 2015-08-11 16:28:41 +10:00
DataFlash DataFlash: use compass get_{field,offsets}() functions 2015-10-15 19:56:07 +09:00
doc Checking these in makes the libraries too bulky. We need to host them somewhere. 2011-01-04 06:22:02 +00:00
Filter exampleLowPassFilter2p: fixed simple typo error - now build success 2015-08-28 15:36:50 +09:00
GCS_Console GCS_Console: update severities 2015-08-28 10:04:35 +10:00
GCS_MAVLink GCS_MAVLink: use compass get_{field,offsets}() functions 2015-10-15 19:56:08 +09:00
PID PID: standardize inclusion of libaries headers 2015-08-11 16:38:25 +10:00
RC_Channel RC_Channel: remove the unused test function get_failsafe 2015-09-09 10:28:02 +10:00
SITL SITL: moved ignition to channel 6 2015-09-29 10:59:41 +10:00
StorageManager StorageManager: standardize inclusion of libaries headers 2015-08-11 16:38:25 +10:00