ardupilot/ArduPlane
James Stoyell 4e7e84fc99 Plane: Modified last_valid_rc_ms AFS failsafe input to work when standard failsafe is on
Ran into a bug on our physical plane where failsafe.last_valid_rc_ms was not recognizing that the transmitter had failed. This is likely due to how the standard failsafe works in receiving lower-than-possible throttle values. So in order to account for this, I added a new variable to the failsafe, AFS_last_valid_rc_ms, and I update it only if the ch3_failsafe (the throttle failsafe) is not on. If the throttle failsafe is on, that means that the plane has indeed lost transmitter input, so the AFS needs to recognize that.
2016-04-22 11:48:36 -07:00
..
adsb.cpp Plane: refactored interface 2015-12-31 15:36:49 +11:00
altitude.cpp Plane: moved update_flight_stage() inside setup_glide_slope() 2016-04-21 21:30:51 -07:00
APM_Config.h Plane: added HIL_MODE parameter 2015-03-13 22:52:56 +11:00
APM_Config.h.reference Plane: cleanup HIL defines 2014-02-15 05:29:46 +11:00
ArduPlane.cpp Plane: Modified last_valid_rc_ms AFS failsafe input to work when standard failsafe is on 2016-04-22 11:48:36 -07:00
arming_checks.cpp Plane: add missionLoaded arming check fail for mis.len <= 1 2016-02-22 16:19:40 +11:00
Attitude.cpp Plane: limit roll before calculating load factor 2016-04-21 21:30:56 -07:00
capabilities.cpp Plane: Add support for DO_REPOSITION via COMMAND_INT 2016-04-17 19:00:03 -07:00
commands_logic.cpp Plane: smooth-out the end of takeoff pitch by reducing takeoff pitch min via TKOFF_PLIM_SEC 2016-04-21 22:54:17 -07:00
commands_process.cpp Plane: convert from .pde to .cpp files 2015-05-21 07:48:52 +10:00
commands.cpp Plane: Add support for DO_REPOSITION via COMMAND_INT 2016-04-17 19:00:03 -07:00
config.h ArduPlane: replace header guard with pragma once 2016-03-16 18:40:45 +11:00
control_modes.cpp Plane: added OVERRIDE_SAFETY parameter 2016-01-29 12:20:14 +11:00
createTags ArduPlane: don't use avr include dir for tags 2015-11-04 12:14:16 +11:00
defines.h Plane: added in-flight transmitter tuning 2016-04-16 20:26:43 +10:00
events.cpp Plane: added QLAND mode 2016-03-09 18:20:41 +11:00
failsafe.cpp Plane: refactor perf variables into a structure 2016-04-21 16:45:02 +10:00
GCS_Mavlink.cpp Plane: Modified last_valid_rc_ms AFS failsafe input to work when standard failsafe is on 2016-04-22 11:48:36 -07:00
geofence.cpp ArduPlane: avoid comparison between signed and unsigned 2015-12-01 16:28:18 -02:00
is_flying.cpp Plane: improved crash detection 2016-04-14 22:34:46 -07:00
landing.cpp Plane: update flight stage on successful restart_landing_sequence() 2016-04-21 22:54:23 -07:00
Log.cpp Plane: log L1 xtrack error integrator and remove extra yaw logging 2016-04-21 21:30:55 -07:00
make.inc Plane: added QLOITER mode 2016-01-09 07:38:52 +11:00
Makefile Plane: cleanup cruft in Makefile 2013-10-13 21:41:01 +11:00
Makefile.waf waf: use single entry point for make wrappers 2015-12-10 10:40:34 +09:00
motor_test.cpp Plane: allow testing of all motors in sequence 2016-04-01 11:09:51 +11:00
navigation.cpp Plane: move target land_airspeed logic to top layer 2016-04-21 21:30:50 -07:00
parachute.cpp Plane: Text revisions 2015-11-26 07:56:52 +11:00
Parameters.cpp Plane: smooth-out the end of takeoff pitch by reducing takeoff pitch min via TKOFF_PLIM_SEC 2016-04-21 22:54:17 -07:00
Parameters.h Plane: smooth-out the end of takeoff pitch by reducing takeoff pitch min via TKOFF_PLIM_SEC 2016-04-21 22:54:17 -07:00
Parameters.pde Plane: added blank Parameters.pde for MissionPlanner 2015-05-30 15:21:33 +09:00
Plane.cpp AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
Plane.h Plane: Modified last_valid_rc_ms AFS failsafe input to work when standard failsafe is on 2016-04-22 11:48:36 -07:00
px4_mixer.cpp Plane: Only resend the mixer configuration if its changed 2016-01-29 12:20:14 +11:00
quadplane.cpp Plane: support Y6 frame class in quadplane 2016-04-22 10:28:16 +10:00
quadplane.h Plane: support Y6 frame class in quadplane 2016-04-22 10:28:16 +10:00
radio.cpp Plane: Modified last_valid_rc_ms AFS failsafe input to work when standard failsafe is on 2016-04-22 11:48:36 -07:00
release-notes.txt Plane: prepare for 3.5.2 release 2016-03-26 14:52:17 +11:00
sensors.cpp Plane: write voltage/current much more frequently 2016-02-29 21:24:54 +11:00
setup.cpp Replace use of UARTDriver::printf_P() with UARTDriver::printf() 2015-10-30 14:35:25 +09:00
system.cpp Plane: log the number of lost log messages 2016-04-21 16:45:02 +10:00
takeoff.cpp Plane: smooth-out the end of takeoff pitch by reducing takeoff pitch min via TKOFF_PLIM_SEC 2016-04-21 22:54:17 -07:00
test.cpp Plane: refactor perf variables into a structure 2016-04-21 16:45:02 +10:00
tuning.cpp Plane: added some fixed wing in-flight transmitter tuning 2016-04-16 20:47:18 +10:00
tuning.h Plane: added some fixed wing in-flight transmitter tuning 2016-04-16 20:47:18 +10:00
wscript waf: create program groups for main products 2016-03-26 15:43:08 -03:00