ardupilot/libraries
Peter Barker 20027bad17 AP_RPM: attach_interrupt now takes a functor
AP_RPM: move PX4 IRQ handling into AP_HAL_PX4

AP_RPM: correct RPM sensor initialisation

The initialisation code used the type from the wrong configuration
parameters (if the first rpm sensor wasn't configured then the sensing
for the second sensor would use the type from the first).

The packing of drivers[...] was done in a non-sparse manner - i.e. if a
sensor wasn't detected then it would not take up space in the array.
The PX4 PWM backend relies on the instance number (offset in the drivers
array) corresponding to the parameters, so making this sparse is
required.

The main detection block fills in drivers based on the number of
instances detected so far, but the nullptr check checks based on the
number of detected backends.  If the second instance wasn't configured we
wouldn't attempt to configure a third.

AP_RPM: add error reporting for attaching of interrupts

AP_RPM: use detach_interrupt method

AP_RPM: use (uint8_t)-1 in place of 255
2018-08-21 20:34:01 +09:00
..
AC_AttitudeControl AC_AttitudeControl: fixed use of double precision maths 2018-05-07 11:43:23 +10:00
AC_Avoidance AC_Avoid: use elseif because value does not change 2018-04-23 19:45:50 +09:00
AC_Fence AC_Fence: add always land option 2018-07-26 10:08:45 +09:00
AC_InputManager AC_InputManager: removed create() method for objects 2017-12-14 08:12:28 +11:00
AC_PID AC_PID: update example for new rc() method 2018-08-01 12:11:30 +09:00
AC_PrecLand AC_PrecLand: use AHRS singleton, remove pointless initialisations 2018-08-17 21:14:57 +09:00
AC_Sprayer AC_Sprayer: add singleton 2018-08-17 15:33:35 +09:00
AC_WPNav AC_Circle: use stopping point to get closest point on circle 2018-07-26 12:12:07 +09:00
AP_AccelCal AP_AccelCal: stop using mavlink_snoop for target traffic 2018-03-28 09:28:23 +09:00
AP_ADC AP_ADC: Remove unused AP_ADC class 2018-07-17 09:29:50 +10:00
AP_ADSB AP_ADSB: fix snprintf warning 2018-05-25 12:54:25 -07:00
AP_AdvancedFailsafe AP_AdvancedFailsafe: removed some old AVR code 2018-07-06 09:04:15 +10:00
AP_AHRS AP_AHRS: fixed tailsitters in RealFlight 2018-07-20 14:21:06 +10:00
AP_Airspeed AP_Airspeed: Add 5"H2O DLVR differential sensor driver 2018-08-08 09:07:17 +10:00
AP_Arming AP_Arming: fix system check 2018-08-14 10:17:38 +10:00
AP_Avoidance AP_Avoidance: track src with correct label - use MAVLink label 2018-05-25 12:44:59 +09:00
AP_Baro AP_Baro: adapt to changes in AP_BoardConfig_CAN 2018-08-12 13:35:02 +01:00
AP_BattMonitor AP_BattMonitor: adapt to changes in AP_BoardConfig_CAN 2018-08-12 13:35:02 +01:00
AP_Beacon AP_Beacon: Use SITL singleton 2018-06-26 00:02:01 +01:00
AP_BLHeli AP_BLHeli: pass motor mask to serial_setup_output() 2018-08-04 19:29:13 +10:00
AP_BoardConfig AP_BoardConfig: correct grammar in @DisplayName 2018-08-21 20:34:01 +09:00
AP_Buffer Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Button Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Camera AP_Camera: populate camera singleton 2018-08-04 11:34:41 +10:00
AP_Common AP_Common: moved WITH_SEMAPHORE to Semaphore.h 2018-08-16 12:40:10 +10:00
AP_Compass AP_Compass: adapt to changes in AP_BoardConfig_CAN 2018-08-12 13:35:03 +01:00
AP_Declination AP_Declination: use floorf() 2018-05-07 11:43:23 +10:00
AP_Devo_Telem AP_Devo_Telem: fixed to check for have_position 2018-04-24 10:44:28 +10:00
AP_FlashStorage AP_FlashStorage: fixed build of example on small memory boards 2018-07-11 10:07:38 +10:00
AP_Follow AP_Follow: fixup offset initialisation 2018-08-01 20:18:23 +09:00
AP_Frsky_Telem AP_Frsky_Telem: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
AP_GPS AP_GPS: adapt to changes in AP_BoardConfig_CAN 2018-08-12 13:35:03 +01:00
AP_Gripper AP_Gripper: add singleton 2018-06-11 19:07:39 +01:00
AP_HAL AP_HAL: add attach_interrupt that takes a functor, not a AP_HAL::Proc 2018-08-21 20:34:01 +09:00
AP_HAL_AVR AP_HAL_AVR: remove examples 2016-05-23 21:49:45 -03:00
AP_HAL_ChibiOS HAL_ChibiOS: fixed bootloader build 2018-08-16 12:40:10 +10:00
AP_HAL_Empty AP_HAL_Empty: attach_interrupt now takes a functor 2018-08-21 20:34:01 +09:00
AP_HAL_F4Light HAL_F4Light: renamed bootloader 2018-07-18 17:49:54 +10:00
AP_HAL_FLYMAPLE AP_HAL_FLYMAPLE: remove hal 2016-05-23 21:49:45 -03:00
AP_HAL_Linux AP_HAL_Linux: attach_interrupt now takes a functor 2018-08-21 20:34:01 +09:00
AP_HAL_PX4 AP_HAL_PX4: implement attach_interrupt 2018-08-21 20:34:01 +09:00
AP_HAL_SITL AP_HAL_SITL: attach_interrupt now takes a functor 2018-08-21 20:34:01 +09:00
AP_HAL_VRBRAIN AP_HAL_VRBrain: attach_interrupt now takes a functor 2018-08-21 20:34:01 +09:00
AP_ICEngine AP_ICEngine: use rc() method to get rc singleton 2018-08-01 12:11:30 +09:00
AP_InertialNav AP_InertialNav: remove dead get_hagl method 2018-04-05 17:35:55 +09:00
AP_InertialSensor AP_InertialSensor: Remove unused ADC include 2018-07-17 09:29:50 +10:00
AP_IOMCU Global: use new version of ARRAY_SIZE 2018-08-04 15:31:55 +10:00
AP_IRLock AP_IRLock: Replace find_object with SITL singleton 2018-06-27 14:59:33 -07:00
AP_JSButton AP_JSButton: Add servo toggle button function 2017-12-28 14:14:47 -05:00
AP_L1_Control AP_L1_Control: lower default L1 period 2018-08-17 20:42:27 +10:00
AP_Landing AP_Landing: Fix misspelling in deepstall docs 2018-08-01 09:24:26 +10:00
AP_LandingGear AP_LANDING_GEAR: Remove deploy lock 2018-08-03 10:59:15 +09:00
AP_LeakDetector AP_LeakDetector: removed create() method for objects 2017-12-14 08:12:28 +11:00
AP_Math AP_Math: fix float-equals warnings 2018-08-15 12:16:49 +10:00
AP_Menu AP_Menu: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
AP_Mission AP_Mission: starts_with_takeoff_cmd skips past mav_cmd_nav_delay 2018-08-20 14:15:40 +09:00
AP_Module AP_Module: Remove unused ADC include 2018-07-17 09:29:50 +10:00
AP_Motors AP_MotorsMatrix: minor format fix 2018-08-21 13:34:07 +09:00
AP_Mount AP_Mount: use rc() method to get rc singleton 2018-08-01 12:11:30 +09:00
AP_NavEKF AP_NavEKF: added gps_quality_good EKF flag 2018-07-14 17:49:52 +10:00
AP_NavEKF2 AP_NavEKF2: Utilize the GPS drivers estimate for lag 2018-08-07 09:55:26 +10:00
AP_NavEKF3 EKF: modify ALT_SOURCE param description 2018-07-18 08:31:09 +09:00
AP_Navigation AP_L1_Control: update_waypoint gets dist_min argument 2018-04-05 12:14:59 +09:00
AP_Notify AP_Notify: tidy and remove code duplications 2018-08-21 10:59:33 +10:00
AP_OpticalFlow Global: remove minlure 2018-06-26 07:32:08 -07:00
AP_OSD AP_OSD: raise thread stack size to 1024 2018-08-20 13:49:14 +10:00
AP_Parachute AP_Parachute: remove un-needed initialisations 2018-07-23 13:53:33 +09:00
AP_Param AP_Param: use background parameter save 2018-08-16 12:40:10 +10:00
AP_Param_Helper AP_Param_Helper: HAL_F4Light parameters divided into common and board specific 2018-03-05 15:00:18 +00:00
AP_Proximity AP_Proximity: add methods covering sensor health, enable and present 2018-06-26 10:25:28 +10:00
AP_Radio AP_Radio: move to using updated time conv API 2018-08-03 13:44:59 +10:00
AP_Rally AP_Rally: Remove stale comment, and unneded define check 2018-04-11 09:45:45 +09:00
AP_RAMTRON AP_RAMTRON: added RAMTRON fram device driver 2018-01-15 11:46:02 +11:00
AP_RangeFinder AP_Rangefinder: Remove APM doc references 2018-08-01 09:24:26 +10:00
AP_RCMapper AP_RCMapper: Mark sub specific parameters as sub only for docs 2018-07-17 12:08:27 +10:00
AP_RCProtocol AP_RCProtocol: fixed coverity error in SUMD 2018-08-07 13:22:08 +10:00
AP_Relay AP_Relay: Remove APM doc references 2018-08-01 09:24:26 +10:00
AP_ROMFS AP_ROMFS: fixed error handling in tinflate 2018-08-07 13:22:08 +10:00
AP_RPM AP_RPM: attach_interrupt now takes a functor 2018-08-21 20:34:01 +09:00
AP_RSSI AP_RSSI: allow override of RSSI pin 2018-08-15 09:51:30 +10:00
AP_RTC AP_RTC: return 0 from get_utc_usec if rtc not set 2018-06-15 08:01:22 +10:00
AP_SBusOut AP_SBusOut: removed create() method for objects 2017-12-14 08:12:28 +11:00
AP_Scheduler AP_Scheduler: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
AP_SerialManager AP_SerialManager: make console do mavlink2 by default 2018-07-18 16:21:02 +10:00
AP_ServoRelayEvents AP_ServoRelayEvents: More robust check if a channel is available 2018-08-20 21:31:06 -07:00
AP_SmartRTL AP_SmartRTL: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
AP_Soaring AP_Soaring: const some accessors 2018-05-29 13:00:40 +10:00
AP_SpdHgtControl AP_SpdHgtControl: update API for TECS change 2018-07-30 13:09:15 +10:00
AP_Stats AP_Stats: make singleton and add flighttime accessor 2018-08-16 12:00:50 +10:00
AP_TECS AP_TECS: set default pitch max to 15 2018-08-17 20:42:29 +10:00
AP_TempCalibration AP_TempCalibration: remove duplicated parameter 2018-07-11 12:16:42 -07:00
AP_TemperatureSensor AP_TemperatureSensor: remove pointless constructor 2018-05-17 15:37:14 +10:00
AP_Terrain AP_Terrain: Reduce memory consumption, simplify enable checking 2018-06-29 09:00:01 +10:00
AP_Tuning AP_Tuning: use rc() method to get rc singleton 2018-08-01 12:11:30 +09:00
AP_UAVCAN AP_UAVCAN: add configuration of hardware filters 2018-08-12 13:35:04 +01:00
AP_Vehicle AP_Vehicle: Add the ArduSub vehicle type. 2017-02-21 11:26:14 +11:00
AP_VisualOdom AP_VisualOdom: class accepts deltas from visual odom camera 2017-04-19 11:04:40 +09:00
AP_Volz_Protocol AP_Volz_Protocol: use AP::serialmanager() 2017-12-21 04:35:11 +00:00
AP_WheelEncoder AP_WheelEncoder: correct check for wheelencoder-max-instances 2018-08-21 20:34:01 +09:00
AP_Winch AP_Winch: undefine PASS_TO_BACKEND convenience function 2018-08-17 21:14:57 +09:00
APM_Control APM_Control: raised default PID gains for roll/pitch 2018-08-17 20:42:25 +10:00
DataFlash DataFlash: add sanity check for WritePrioritisedBlock size 2018-08-21 10:57:43 +10:00
doc doc: Fix typos 2016-05-13 19:20:06 -03:00
Filter Filter: added a notch filter 2017-08-29 13:52:29 +10:00
GCS_MAVLink GCS_MAVLink: use Semaphore.h 2018-08-16 12:40:10 +10:00
PID PID: Remove examples/keywords 2018-04-11 21:47:07 +01:00
RC_Channel RC_Channel: move handling of sprayer and gripper in from Copter 2018-08-17 15:33:35 +09:00
SITL SITL: rearrange Grippers and Sprayers in SITL 2018-07-31 23:34:43 +10:00
SRV_Channel SRV_Channel: adapt to changes in AP_BoardConfig_CAN 2018-08-12 13:35:03 +01:00
StorageManager StorageManager: allow for 15k storage 2018-06-24 08:26:28 +10:00