Commit Graph

24 Commits

Author SHA1 Message Date
Randy Mackay 28f31166b9 Copter: land check gets overall throttle and rotation rate check
add check that overall throttle level is below the non-takeoff throttle
instead of just checking that it's motors have hit their lower limits
because low limits can also be caused by high yaw rotation requests.
Absolute climb rate requirement reduced to 30cm/s
2014-09-04 15:21:51 +09:00
Randy Mackay 63d0cddfa4 Copter: make landing detector more strict
Made more strict by requiring 50 consecutive iterations where the climb
rate is below +- 40cm/s.  Previously it was 50 cumulative.

Removed check of failsafe.radio when clearing the land flag because it
could result in the vehicle taking off if the user picked it up.
2014-08-25 21:12:05 +09:00
Randy Mackay 279aff87f2 Copter: bug fix to land-detector
vehicle should become un-landed only when throttle out is above the
get-non-throttle-takeoff value
2014-08-04 16:53:39 +09:00
Randy Mackay 11678ba936 Copter: remain landed until throttle output above 25 percent 2014-07-18 11:41:46 +09:00
Andrew Tridgell 6416a4d0e6 Copter: fixed apm1-hil build 2014-07-08 15:41:39 +10:00
Andrew Tridgell a4b9b989b7 Copter: convert to new AP_RangeFinder API 2014-07-08 15:08:18 +10:00
Jonathan Challinger 09a01a4668 Copter: Wait 4 seconds before beginning to land during failsafes 2014-07-06 20:25:04 +09:00
Jonathan Challinger 5b36e65cb9 Copter: Add parameter LAND_REPOSITION to enable/disable user input during auto-mode landings and descents 2014-07-06 19:20:25 +09:00
Randy Mackay 08801eebf2 Copter: integrate AttControl's set_yaw_target_to_current_heading 2014-06-10 20:02:51 +09:00
Randy Mackay 77d5d682c1 Copter: integrate init_targets rename to relax_bf_rate_controller
Also remove unnecessary init_targets from flight mode init functions.
2014-06-10 20:02:29 +09:00
Ju1ien abd1370b2c Copter: flag stays landed unless pilot raises throttle 2014-06-06 18:42:30 +09:00
Randy Mackay d5a0ca4f3c Copter: integrate init_loiter_target name change 2014-05-19 12:27:29 +09:00
Randy Mackay a3036fc443 Copter: init pos_control z-axis after setting speed and accel 2014-04-30 21:46:17 +09:00
Randy Mackay 7d7a2aced7 Copter: init vert speed and accel for each flight mode
This resolves issue #1021 in which LAND mode could descend at the
PILOT_VELZ rate instead of the WPNAV_SPEED_DN

Pilot defined acceleration is used for AltHold, AutoTune , Circle,
Hybrid, Loiter, OF_Loiter and Sport flight modes
Waypoint Nav (ie. AutoPilot) acceleration is used for Auto, Land, RTL
2014-04-30 21:46:10 +09:00
Randy Mackay 5fe86a657e Copter: land_do_not_use_GPS has no return value 2014-04-27 15:41:41 +09:00
Randy Mackay 4686eef266 Copter: GPS failsafe ensures LAND is pilot-controlled
This resolves issue #880 in which if a GPS failsafe occurred while the
vehicle was already in LAND mode, the LAND would continue to be GPS
controlled LAND instead of pilot-controlled LAND
2014-04-27 15:11:47 +09:00
Randy Mackay 3a934357e9 Copter: remove unused reset_land_detector 2014-03-04 22:23:55 +09:00
Randy Mackay e89600afe3 Copter: integrate smoothing gain into flight modes 2014-03-04 22:23:52 +09:00
Randy Mackay b259510095 Copter: init roll/pitch input filters 2014-02-16 13:35:30 +11:00
Randy Mackay 3ccd1ad170 Copter: integrate AttControl method name changes 2014-02-15 06:09:08 +11:00
Randy Mackay 2c1ec9d0c0 Copter: remove control_roll, pitch, yaw from control files 2014-02-15 05:27:47 +11:00
Randy Mackay bd88ed8a53 Copter: LAND at stopping point instead of curr pos 2014-02-15 05:27:39 +11:00
Randy Mackay 6ba91369ff Copter: split control_land into gps and non-gps 2014-02-15 05:27:38 +11:00
Randy Mackay e27f4c1c13 Copter: split control_stabilize into land, rtl, loiter 2014-02-15 05:27:38 +11:00