Commit Graph

28 Commits

Author SHA1 Message Date
Pierre Kancir d5d81f3a1c ArduCopter: set AUTO_YAW_HOLD when user control yaw during nogps land 2019-04-23 09:35:02 +09:00
Pierre Kancir caf925eda5 Copter: factorize arm or land check 2019-04-16 10:17:47 +09:00
Peter Barker 46a6f45e4a Copter: adjust for desired spool state and spool state renames 2019-04-14 12:18:03 +09:00
bnsgeyer 94738c3f86 Copter: change make_safe_shut_down to make_safe_spool_down 2019-04-08 09:42:21 +09:00
bnsgeyer f96da56ad6 Copter: Allow safe shutdown before disarming 2019-04-08 09:42:21 +09:00
Randy Mackay a6bfafefb0 Copter: move loiter and wpnav init out of make_safe_shut_down
resolves autotest RTLSpeed test failure
2019-04-08 09:42:21 +09:00
Leonard Hall 38cc5a817f Copter: consolidate mode state decisions
bnsgeyer and rmackay9 contributed to these changes

make_safe_shut_down waits for spool down before disarming
remove use of attitude_control::set_throttle_out_unstabilized to consolidate logic between multicopters and tradhelis
2019-04-08 09:42:21 +09:00
Randy Mackay 717fb4d823 Copter: integrate AC_WPNav::get_speed rename to get_default_speed 2019-01-31 19:34:32 +09:00
Leonard Hall 2ddb3f6697 Copter: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
Randy Mackay 8fdd439827 Copter: land mode minor format fixes 2018-10-27 10:44:19 +09:00
Michael du Breuil 7e1ed948f5 Copter: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Leonard Hall 17b61f72a3 Copter: Initialise desired acceleration before loiter init 2018-09-19 08:34:08 +09:00
Randy Mackay 59e4749fd0 Copter: integrate AC_Loiter
includes param conversion
2018-04-04 10:45:10 +09:00
Randy Mackay b3cb491bb1 Copter: minor format fix to mode_land 2018-03-31 14:19:13 +09:00
Ebin 914f3385a4 ArduCopter: Moved land control fn definitions to mode.cpp (NFC) 2018-03-29 16:54:54 +01:00
Ebin 1ff4019ddf ArduCopter: moved landing control fns from Copter to Mode
land_run_horizontal_control(),land_run_vertical_control(),get_alt_above_ground() moved to Mode
2018-03-29 16:50:00 +01:00
Ebin d8f56b3511 ArduCopter: changed signature for get_pilot_desired_lean_angles()
Removes first two redundant input parameters, makes fn non static, makes fn const
2018-03-19 17:51:39 +09:00
Randy Mackay 1a0be015f9 Copter: land, loiter, rtl provide dt to AC_WPNav::set_pilot_desired_acceleration
Also fix accelerations/lean-angles for land and rtl-land
2018-03-16 13:50:57 +09:00
Leonard Hall 93de23e7c4 Copter: get-pilot-desired-lean-angles accepts another angle-max 2018-03-16 13:50:57 +09:00
Leonard Hall 9544b1763b Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc 2018-03-16 13:50:57 +09:00
Peter Barker 25665c5dd9 Copter: correct definition of unused variable when precision landing disabled 2018-02-22 10:26:37 +10:00
Andrew Tridgell 0ed75052f8 Copter: enable parameters inside mode objects
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
2018-02-08 17:36:33 +11:00
Pierre Kancir cfc69214e6 Copter: add LAND_ALT_LOW parameter 2018-01-24 21:14:35 +09:00
Randy Mackay 8d6f8e4d9c Copter: move pos-control pids to pos-control library 2018-01-23 12:00:43 +09:00
Leonard Hall 48d0ad26a6 Copter: mode_land sends dt to sqrt controller 2018-01-16 12:13:48 +09:00
Peter Barker 71ad1b5815 Copter: use zero_throttle_and_relax_ac function 2017-12-27 12:09:06 +00:00
Randy Mackay 2d23e1f7c7 Copter: rename flightmode_ objects to mode_ 2017-12-12 10:39:26 +09:00
Randy Mackay c3fbf2671c Copter: rename control_xx.cpp files to mode_xx.cpp 2017-12-12 10:39:26 +09:00