ardupilot/libraries
Murilo Belluzzo 75a1b102fb RingBuffer: Handle zero sized better
Sometimes (like in DataFlash) the size of the ring buffer will be
determined in run time and the object can have size zero until proper
initialization. When this was the case, an underflow in ::get_size would
mess with the initializing algorithm.

Another issue was that the 'new' operator could fail what was not being
handled. Now, we only set the size member after we are sure 'new'
successfully allocated memory.
2016-08-03 01:44:02 -03:00
..
AC_AttitudeControl AC_AttControl: remove unused 100hz definition 2016-08-01 17:21:04 +09:00
AC_Avoidance AC_Avoidance: add adjust_velocity that accepts Vector3f for convenience 2016-07-25 20:24:37 +09:00
AC_Fence AC_Fence: add polygon fence check to check_destination_within_fence 2016-07-04 18:25:03 +09: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 AC_PID: removed AFF from heli PID 2016-05-12 17:37:01 +10:00
AC_PrecLand AC_PrecLand: re-order init to resolve compiler warning 2016-07-23 14:49:21 +09:00
AC_Sprayer AP_Math: Replace the pythagorous* functions with a variadic template 2016-05-10 11:41:26 -03:00
AC_WPNav Copter: reduce WPNAV_LOIT_MINA parameter description range 2016-08-01 17:09:20 +09:00
AP_AccelCal AP_AccelCal: Fix typos 2016-05-13 19:20:06 -03:00
AP_ADC AP_ADC_ADS1115: Remove resource leak. 2016-08-03 00:24:55 -03:00
AP_ADSB AP_ADSB: revert default enable = 0 2016-08-01 17:56:04 -07:00
AP_AHRS AP_AHRS: remove use of uninitialised variable 2016-07-20 00:06:49 -03:00
AP_Airspeed AP_Airspeed: added ARSP_PSI_RANGE parameter 2016-07-20 13:38:22 +10:00
AP_Arming AP_Arming: don't show the GPS arming error in SITL 2016-07-27 07:46:04 +10:00
AP_Avoidance AP_Avoidance: get_location becomes a method on adsb rather than a abds vehicle 2016-07-25 20:24:37 +09:00
AP_Baro AP_Baro: MS56XX: cosmetic changes to members 2016-07-30 00:55:28 -03:00
AP_BattMonitor AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
AP_BoardConfig AP_BoardConfig: fix check for PX4_V4 2016-07-19 10:28:56 +10:00
AP_Buffer AP_Buffer: replace header guard with pragma once 2016-02-18 14:52:34 -02:00
AP_Button AP_Button: check for space before sending BUTTON_CHANGE 2016-07-24 07:48:36 +10:00
AP_Camera AP_Camera: clearer parameter docs for trigger pin 2016-04-15 09:33:47 +10:00
AP_Common AP_HAL_Linux: Add Pollable/Poller 2016-07-30 00:55:27 -03:00
AP_Compass AP_Compass: Remove i2c lockup count 2016-07-28 18:03:09 -03:00
AP_Declination AP_Declination: Fix typos 2016-05-13 19:20:05 -03:00
AP_EPM Revising ardupilot.com to .org 2016-04-23 22:49:41 -07:00
AP_Frsky_Telem AP_Frsky_Telem: Fix typos 2016-05-13 19:20:05 -03:00
AP_GPS AP_GPS_PX4: fixed GPS epoch calculations 2016-08-02 11:20:48 +10:00
AP_HAL RingBuffer: Handle zero sized better 2016-08-03 01:44:02 -03:00
AP_HAL_AVR AP_HAL_AVR: remove examples 2016-05-23 21:49:45 -03:00
AP_HAL_Empty AP_HAL_Empty: update Device interface 2016-07-30 00:55:27 -03:00
AP_HAL_FLYMAPLE AP_HAL_FLYMAPLE: remove hal 2016-05-23 21:49:45 -03:00
AP_HAL_Linux AP_HAL_Linux: Implement threaded SPI 2016-07-30 00:55:27 -03:00
AP_HAL_PX4 AP_HAL_PX4: update Device interface 2016-07-30 00:55:27 -03:00
AP_HAL_QURT AP_HAL_QURT: remove I2CDriver 2016-07-28 18:08:57 -03:00
AP_HAL_SITL SITL: initialise sigaction structs - valgrind fix 2016-07-29 10:38:03 -03:00
AP_HAL_VRBRAIN AP_HAL_VRBRAIN: remove I2CDriver 2016-07-28 18:08:57 -03:00
AP_ICEngine AP_ICEngine: add casting to avoid compiler warnings 2016-08-01 09:41:32 +09:00
AP_InertialNav AP_InertialNav: Use separated EKF horiz/vert position interfaces 2016-07-19 12:16:49 +10:00
AP_InertialSensor AP_InertialSensor: MPU6000: Add missing read() check 2016-08-03 00:18:20 -03:00
AP_IRLock AP_IRLock: refactor interface 2016-07-12 18:40:25 +09:00
AP_L1_Control AP_L1_Control: Adding support for rover's operating in reverse 2016-07-17 08:15:33 +10:00
AP_LandingGear AP_LandingGear: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
AP_Math AP_Math: remove declaration of not implemented functions 2016-08-03 00:16:35 -03:00
AP_Menu AP_Menu: replace header guard with pragma once 2016-03-16 18:40:42 +11:00
AP_Mission AP_Mission: support DO_ENGINE_CONTROL 2016-07-25 10:06:03 +10:00
AP_Module AP_Module: use ifdef in function, not caller 2016-07-14 13:39:48 +10:00
AP_Motors AP_Motors: added H_RSC_POWER_NEGC and H_RSC_SLEWRATE 2016-07-03 18:29:05 +10:00
AP_Mount AP_Mount: fixed typo 2016-07-01 15:35:34 +10:00
AP_NavEKF AP_NavEKF: fix documentation errors 2016-07-19 12:16:50 +10:00
AP_NavEKF2 AP_NavEKF2: change priority of statustext messages 2016-07-29 13:19:51 +09:00
AP_Navigation AP_Navigation: Adding set_reverse to virtual parent class 2016-07-17 08:15:33 +10:00
AP_Notify AP_Notify: added handling of PLAY_TUNE message 2016-07-22 15:00:17 +10:00
AP_OpticalFlow AP_OpticalFlow: fix optical flow initialization 2016-05-13 11:22:12 -03:00
AP_Parachute AP_Parachute: resolve compile warning re init order 2016-04-22 21:32:35 +09:00
AP_Param AP_Param: display defaults path on startup 2016-06-30 14:16:52 +10:00
AP_Rally AP_Rally: add is_valid method 2016-07-22 09:00:13 +09:00
AP_RangeFinder AP_RangeFinder: correct DisplayName comments 2016-08-01 09:55:25 -03: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 AP_RPM: provide an RPM quality in SITL 2016-07-28 12:39:07 +10:00
AP_RSSI AP_RSSI: use fabsf instead of abs 2016-04-23 23:06:26 -07:00
AP_Scheduler AP_Scheduler:time_available value type invalid uint16_t to valid uint32_t. 2016-07-25 20:18:16 -03:00
AP_SerialManager AP_SerialManager: remove special case for console 2016-05-21 15:25:17 +10:00
AP_ServoRelayEvents AP_ServoRelayEvents: Fix up after RC_Channels refactor 2016-05-10 16:21:15 +10:00
AP_SpdHgtControl AP_SpdHgtControl: update for changed API 2016-05-14 08:26:10 +10:00
AP_TECS AP_TECS: Remove useless 'if' statement 2016-07-25 18:51:56 -03:00
AP_Terrain AP_Terrain: use HAVE_PAYLOAD_SPACE() 2016-05-21 15:25:15 +10:00
AP_Tuning AP_Tuning: don't warn of controller errors when disarmed 2016-06-04 19:20:45 +10:00
AP_Vehicle AP_Vehicle: moved roll_limit_cd into AP_Vehicle 2016-06-24 11:39:21 +10:00
APM_Control AP_SteerController: Adding support for Rovers driving reverse 2016-07-17 08:15:33 +10:00
APM_OBC APM_OBC: Fix up after RC_Channels refactor 2016-05-10 16:21:15 +10:00
DataFlash DataFlash: Avoid null pointer dereference 2016-08-03 00:02:19 -03:00
doc doc: Fix typos 2016-05-13 19:20:06 -03:00
Filter Filter: add AverageFilter variant to save current sum 2016-05-10 14:24:59 -03:00
GCS_Console GCS_Console: replace header guard with pragma once 2016-03-16 18:40:44 +11:00
GCS_MAVLink GCS_MAVLink: send_collision_all 2016-07-25 20:24:37 +09:00
PID PID: Remove unused method get_pid_4500 2016-07-06 08:45:01 +09:00
RC_Channel RC_Channel: added output types for choke, ignition and starter 2016-07-25 10:06:03 +10:00
SITL SITL: expand to 16 output channels 2016-07-25 15:45:39 +10:00
StorageManager StorageManager: added storage region for signing keys 2016-05-21 15:25:12 +10:00