ardupilot/libraries
Matthew Lloyd 60a4f74de6 AP_Compass: avoid division by zero if we haven't received any mag reports
Otherwise, get_field() will return NaNs after once every few calls to
read() during compassmot on PX4 platforms, which causes compassmot to fail.

This is a quick hack around the deeper issue, which could be something
like the PX4 mag driver experiencing starvation and skipping mag reports,
buffer overrun or something else that causes mag reports to be dropped.
Or perhaps we should never expect in the first place that we will always
receive at least one mag report between calls to read().
2014-03-23 21:22:32 +11:00
..
AC_AttitudeControl AC_AttitudeControl: fixed example build 2014-03-19 12:13:56 +09:00
AC_Fence AC_Fence: fixed example build 2014-03-19 12:13:57 +09:00
AC_PID AC_PID: add AC_P controller 2014-02-15 06:09:08 +11:00
AC_Sprayer AC_Sprayer: fixed example build 2014-03-19 12:13:59 +09:00
AC_WPNav AC_WPNav: fixed example build 2014-03-19 12:14:00 +09:00
AP_ADC AP_ADC: updates for AP_HAL::MemberProc 2013-09-30 21:06:42 +10:00
AP_ADC_AnalogSource AP_ADC_AnalogSource: fixed APM1 build 2013-09-12 13:28:11 +10:00
AP_AHRS AP_AHRS: fixed example build 2014-03-19 12:14:02 +09:00
AP_Airspeed AP_Airspeed: fixed example build 2014-03-19 12:14:03 +09:00
AP_Arming AP_Arming: more detail in ARMING_CHECK docs 2014-01-25 22:22:50 +11:00
AP_Baro AP_Baro: fixed example build 2014-03-19 12:14:05 +09:00
AP_BattMonitor BattMonitor: add @Increment to CAPACITY description 2013-10-29 11:23:27 +09:00
AP_BoardConfig AP_BoardConfig: added BRD_SAFETYENABLE option 2014-02-11 15:58:25 +11:00
AP_Buffer AP_Buffer: remove header/source separation to allow arbitrary template 2013-10-27 13:41:43 +09:00
AP_Camera AP_Camera: updates for relay API change 2014-01-20 17:06:29 +11:00
AP_Common AP_Common: make alt in Location 24 bit 2014-03-20 16:57:09 +11:00
AP_Compass AP_Compass: avoid division by zero if we haven't received any mag reports 2014-03-23 21:22:32 +11:00
AP_Curve AP_Curve: remove virtual from method declarations 2014-02-10 17:28:11 +09:00
AP_Declination libraries: update license header to GPLv3 2013-08-30 13:01:39 +10:00
AP_EPM AP_EPM: EPM cargo gripper library 2013-12-17 15:36:39 +09:00
AP_GPS AP_GPS: fixed example builds with change to init() 2014-03-16 06:44:50 +11:00
AP_HAL AP_HAL: fixed example build 2014-03-19 12:14:06 +09:00
AP_HAL_AVR AP_HAL: fixed example build 2014-03-19 12:14:06 +09:00
AP_HAL_AVR_SITL HAL_SITL: honor SIM_GPS2_ENABLE option 2014-03-03 07:07:29 +11:00
AP_HAL_Empty HAL_Empty: no uartE 2014-02-26 08:19:18 +11:00
AP_HAL_FLYMAPLE AP_HAL: fixed example build 2014-03-19 12:14:06 +09:00
AP_HAL_Linux AP_HAL: allow for microsecond resolution in scheduler->stop_clock() 2014-02-26 19:33:39 +11:00
AP_HAL_PX4 AP_HAL: fixed example build 2014-03-19 12:14:06 +09:00
AP_InertialNav AP_InertialNav: fixed example build 2014-03-19 12:14:08 +09:00
AP_InertialSensor AP_InertialSensor: fixed example build 2014-03-19 12:13:47 +09:00
AP_L1_Control AP_L1_Control: no need to project position for lag 2014-02-15 05:29:47 +11:00
AP_Limits AP_Limits: fix for new AP_Math API 2013-08-05 10:23:57 +10:00
AP_Math AP_Math: fixed example build 2014-03-19 12:13:48 +09:00
AP_Menu AP_Menu: fixed double display of prompt 2013-11-06 10:49:47 +11:00
AP_Mission AP_Mission: make p1 16 bit 2014-03-20 16:57:09 +11:00
AP_Motors AP_Motors: removed unused variable 2014-02-26 09:40:39 +11:00
AP_Mount AP_Mount: fixed example build 2014-03-19 12:13:50 +09:00
AP_NavEKF AP_NavEKF : Track baro height observations pre-arm 2014-03-23 18:25:50 +11:00
AP_Navigation AP_L1_Control: added lateral acceleration interface 2013-08-12 13:38:38 +10:00
AP_Notify AP_Notify: fixed example build 2014-03-19 12:13:51 +09:00
AP_OpticalFlow OptFlow: remove unused variables 2014-02-10 13:53:49 +09:00
AP_Param AP_Param: expose check_var_info() as a public symbol 2014-01-31 13:07:41 +11:00
AP_PerfMon Perfmon: fixes to work with HAL 2013-10-13 11:02:49 +09:00
AP_Progmem AP_Progmem: only AVR uses progmem 2013-09-28 21:24:02 +10:00
AP_RangeFinder Maxsonar Test: remove raw from output to user 2014-02-10 15:00:08 +09:00
AP_RCMapper AP_RCMapper: improved docs for RCMAP_* 2013-06-03 16:28:05 +10:00
AP_Relay AP_Relay: fixed Pixhawk relay pin numbers 2014-03-20 09:40:08 +11:00
AP_Scheduler AP_Scheduler: fixed SCHED_DEBUG docs 2013-10-13 21:41:01 +11:00
AP_ServoRelayEvents AP_ServoRelayEvents: fixed disabling repeated events on set_servo() 2014-02-06 10:03:26 +11:00
AP_SpdHgtControl AP_SpdHgtControl: added get_target_airspeed() interface 2014-03-20 17:34:29 +11:00
AP_TECS AP_TECS: set target airspeed, not min/max airspeed, on landing 2014-03-20 17:34:39 +11:00
AP_Vehicle AP_Vehicle: add multicopter parameters 2014-02-15 05:27:32 +11:00
APM_Control AP_Arming: param doc fixes 2014-01-10 10:40:53 +09:00
APM_OBC libraries: update license header to GPLv3 2013-08-30 13:01:39 +10:00
APM_PI APM_PI: fixed indent-tabs-mode 2013-05-30 09:54:53 +10:00
DataFlash DataFlash: Add Log_Write_Radio to store RSSI and noise on board. 2014-03-20 09:56:37 +11: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 LowPassFilter: make methods non-virtual 2014-02-10 20:47:05 +09:00
GCS_Console GCS_Console: fixed example build 2014-03-19 12:13:55 +09:00
GCS_MAVLink GCS_Mavlink: return MISSION_INVALID when conversion fails 2014-03-22 11:29:36 +09:00
PID PID: fixed example build 2013-09-24 11:57:21 +10:00
RC_Channel RC_Channel: constrain norm_input() to -1 to 1 2014-03-15 20:43:13 +11:00
SITL SITL: added SIM_GPS2_ENABLE option 2014-03-03 07:07:09 +11:00