ardupilot/libraries
Rustom Jehangir 4a10156b13 AP_HAL_Linux: Fix RCInput::read from stopping at any zero channel
This bug led to issues for us so it may help others to resolve it.
Currently, the AP_HAL_Linux RCInput::read(uint16_t*,uint8_t) function
only returns the first x nonzero channels. Once it hits a channel that
is set to zero, it stops and all remaining channels are returned as
zero, even if they are set. This causes discrepancies between the raw RC
input sent to the GCS and the RC input that is actually used on the
vehicle.

The fixes this issue and makes it behave exactly as it does on the
PX4_HAL code. We ran into this issue when sending rc_override messages
in which there were some channels set to zero.
2016-04-26 22:32:07 -03:00
..
AC_AttitudeControl AC_AttitudeControl: fix heli documentation 2016-04-18 07:40:34 +09:00
AC_Fence AC_Fence: replace header guard with pragma once 2016-03-16 18:40:39 +11:00
AC_InputManager AC_InputManager_Heli: get_pilot_desired_throttle in 0 to 1 range 2016-04-01 11:59:30 +09:00
AC_PID Global: start using cmath instead of math.h 2016-04-05 21:06:19 -07:00
AC_PrecLand AC_PrecLand: replace header guard with pragma once 2016-03-16 18:40:39 +11:00
AC_Sprayer AC_Sprayer: replace header guard with pragma once 2016-03-16 18:40:39 +11:00
AC_WPNav AC_WPNav: replace header guard with pragma once 2016-03-16 18:40:39 +11:00
AP_AccelCal AP_AccelCal: check return of get_calibrator 2016-04-23 23:06:27 -07:00
AP_ADC Global: start using cmath instead of math.h 2016-04-05 21:06:19 -07:00
AP_ADSB AP_ADSB: replace header guard with pragma once 2016-03-16 18:40:39 +11:00
AP_AHRS AHRS_NavEKF: fix get_position by using ekf origin 2016-04-21 11:23:07 +10:00
AP_Airspeed AP_Airspeed: remove unused _last_pin 2016-04-23 23:06:21 -07:00
AP_Arming AP_Arming: Fetch GPS configuration failure reason 2016-04-13 11:24:01 -03:00
AP_Baro Add @Volatile, @ReadOnly support 2016-03-17 10:58:05 +11:00
AP_BattMonitor AP_BattMonitor: make param BATT_WATT_MAX plane only 2016-04-21 13:59:45 -07:00
AP_BoardConfig AP_BoardConfig: use hal.rcout->enable_sbus_out() 2016-04-16 07:30:43 +10:00
AP_Buffer AP_Buffer: replace header guard with pragma once 2016-02-18 14:52:34 -02:00
AP_Camera AP_Camera: clearer parameter docs for trigger pin 2016-04-15 09:33:47 +10:00
AP_Common missing: add cmath 2016-04-05 20:44:15 -07:00
AP_Compass AP_Compass: Add HMC5843 and second AK8963 autodetection to BBBmini 2016-04-24 10:57:57 -03:00
AP_Declination Global: start using cmath instead of math.h 2016-04-05 21:06:19 -07:00
AP_EPM Revising ardupilot.com to .org 2016-04-23 22:49:41 -07:00
AP_Frsky_Telem AP_Frsky_Telem: remove unnecessary abs 2016-04-23 23:06:22 -07:00
AP_GPS AP_GPS: fixed init string for SBF GPS 2016-04-26 16:51:29 +10:00
AP_HAL AP_HAL: BBBmini rework for dual MPU9250 and external HMC5843 compass 2016-04-24 10:57:57 -03:00
AP_HAL_AVR HAL_AVR: update URL 2016-03-25 20:47:35 +11:00
AP_HAL_Empty HAL_Empty: added uartF 2016-04-20 09:39:49 +10:00
AP_HAL_FLYMAPLE Revising ardupilot.com to .org 2016-04-23 22:49:45 -07:00
AP_HAL_Linux AP_HAL_Linux: Fix RCInput::read from stopping at any zero channel 2016-04-26 22:32:07 -03:00
AP_HAL_PX4 HAL_PX4: added comment on oneshot 2016-04-22 13:50:05 +10:00
AP_HAL_QURT HAL_QURT: added uartF 2016-04-20 09:39:49 +10:00
AP_HAL_SITL HAL_SITL: support fireflyy6 as quadplane 2016-04-22 10:28:15 +10:00
AP_HAL_VRBRAIN HAL_VRBRAIN: added uartF 2016-04-20 09:39:49 +10:00
AP_InertialNav AP_InertialNav: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
AP_InertialSensor AP_InertialSensor: added set of delta angle time for replay 2016-04-26 15:50:46 +10:00
AP_IRLock AP_IRLock: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
AP_L1_Control AP_L1_Control: replace fabsf with labs 2016-04-23 23:06:25 -07:00
AP_LandingGear AP_LandingGear: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
AP_Math AP_Math: fixed memory leak 2016-04-26 16:41:44 +10:00
AP_Menu AP_Menu: replace header guard with pragma once 2016-03-16 18:40:42 +11:00
AP_Mission AP_Mission: Remove DO_SET_PARAMETER 2016-04-25 09:59:59 +09:00
AP_Motors AP_MotorsMatrix: make const a float 2016-04-23 23:06:25 -07:00
AP_Mount AP_Mount: replace header guard with pragma once 2016-03-16 18:40:42 +11:00
AP_NavEKF AP_NavEKF: check mag instance id when returning mag offsets 2016-04-21 09:51:41 +10:00
AP_NavEKF2 AP_NavEKF2: use vector comparison for new mag vector 2016-04-21 09:56:22 +10:00
AP_Navigation AP_L1 - add a stale flag 2016-04-21 21:30:57 -07:00
AP_Notify AP_Notify: add ToneAlarm_PX4_Solo 2016-04-21 10:05:36 +10:00
AP_OpticalFlow AP_OpticalFlow: fix use of undefined variable 2016-03-03 18:37:15 -03:00
AP_Parachute AP_Parachute: resolve compile warning re init order 2016-04-22 21:32:35 +09:00
AP_Param AP_Param: explicitly cast to float to avoid Clang warning 2016-04-22 17:33:06 +01:00
AP_Rally AP_Rally: replace header guard with pragma once 2016-03-16 18:40:42 +11:00
AP_RangeFinder Global: start using cmath instead of math.h 2016-04-05 21:06:19 -07:00
AP_RCMapper AP_RCMapper: replace header guard with pragma once 2016-03-16 18:40:43 +11:00
AP_Relay AP_Relay: replace header guard with pragma once 2016-03-16 18:40:43 +11:00
AP_RPM Global: start using cmath instead of math.h 2016-04-05 21:06:19 -07:00
AP_RSSI AP_RSSI: use fabsf instead of abs 2016-04-23 23:06:26 -07:00
AP_Scheduler AP_Scheduler: added optional perf counters at SCHED_DEBUG >= 4 2016-04-21 16:45:02 +10:00
AP_SerialManager Revising ardupilot.com to .org 2016-04-23 22:49:38 -07:00
AP_ServoRelayEvents AP_ServoRelayEvents: replace header guard with pragma once 2016-03-16 18:40:43 +11:00
AP_SpdHgtControl AP_TECS: created accessor for TECS_LAND_ARSPD param 2016-04-21 21:30:48 -07:00
AP_TECS AP-TECS: constrain proportion to 0-1 for spdweight scale so it doesn't grow backup after land point 2016-04-21 21:31:02 -07:00
AP_Terrain AP_Terrain: replace header guard with pragma once 2016-03-16 18:40:44 +11:00
AP_Vehicle AP_Vehicle: replace header guard with pragma once 2016-03-16 18:40:44 +11:00
APM_Control APM_Control: remove unused _last_error member 2016-04-23 23:06:20 -07:00
APM_OBC APM_OBC: changed param RC_FAIL_MS to RC_FAIL_TIME in float seconds 2016-04-22 16:05:07 -07:00
DataFlash DataFlash: added DelaT to delta-angle logs 2016-04-26 15:50:29 +10: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 Global: start using cmath instead of math.h 2016-04-05 21:06:19 -07:00
GCS_Console GCS_Console: replace header guard with pragma once 2016-03-16 18:40:44 +11:00
GCS_MAVLink GCS_MAVLink: fixed null termination bug 2016-04-26 18:20:49 +10:00
PID Global: start using cmath instead of math.h 2016-04-05 21:06:19 -07:00
RC_Channel RC_Channel: extend channel mapping to 16 channels 2016-04-23 21:03:46 +10:00
SITL SITL: fixed coverity 125055 2016-04-26 16:46:06 +10:00
StorageManager Revising ardupilot.com to .org 2016-04-23 22:49:40 -07:00