Pierre Kancir
d5d81f3a1c
ArduCopter: set AUTO_YAW_HOLD when user control yaw during nogps land
6 years ago
Pierre Kancir
caf925eda5
Copter: factorize arm or land check
6 years ago
Peter Barker
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
6 years ago
bnsgeyer
94738c3f86
Copter: change make_safe_shut_down to make_safe_spool_down
6 years ago
bnsgeyer
f96da56ad6
Copter: Allow safe shutdown before disarming
6 years ago
Randy Mackay
a6bfafefb0
Copter: move loiter and wpnav init out of make_safe_shut_down
...
resolves autotest RTLSpeed test failure
6 years ago
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
6 years ago
Randy Mackay
717fb4d823
Copter: integrate AC_WPNav::get_speed rename to get_default_speed
6 years ago
Leonard Hall
2ddb3f6697
Copter: desired-ground-idle replaces spin-when-armed
6 years ago
Randy Mackay
8fdd439827
Copter: land mode minor format fixes
6 years ago
Michael du Breuil
7e1ed948f5
Copter: Cope with AC_PosControl renaming
6 years ago
Leonard Hall
17b61f72a3
Copter: Initialise desired acceleration before loiter init
6 years ago
Randy Mackay
59e4749fd0
Copter: integrate AC_Loiter
...
includes param conversion
7 years ago
Randy Mackay
b3cb491bb1
Copter: minor format fix to mode_land
7 years ago
Ebin
914f3385a4
ArduCopter: Moved land control fn definitions to mode.cpp (NFC)
7 years ago
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
7 years ago
Ebin
d8f56b3511
ArduCopter: changed signature for get_pilot_desired_lean_angles()
...
Removes first two redundant input parameters, makes fn non static, makes fn const
7 years ago
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
7 years ago
Leonard Hall
93de23e7c4
Copter: get-pilot-desired-lean-angles accepts another angle-max
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago
Peter Barker
25665c5dd9
Copter: correct definition of unused variable when precision landing disabled
7 years ago
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
7 years ago
Pierre Kancir
cfc69214e6
Copter: add LAND_ALT_LOW parameter
7 years ago
Randy Mackay
8d6f8e4d9c
Copter: move pos-control pids to pos-control library
7 years ago
Leonard Hall
48d0ad26a6
Copter: mode_land sends dt to sqrt controller
7 years ago
Peter Barker
71ad1b5815
Copter: use zero_throttle_and_relax_ac function
7 years ago
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
7 years ago
Randy Mackay
c3fbf2671c
Copter: rename control_xx.cpp files to mode_xx.cpp
7 years ago
Randy Mackay
06fbe8f3a7
Copter: rename FlightMode class to Mode
...
also remove unused print_FlightMode method
7 years ago
Randy Mackay
8870897847
Copter: FlightMode objects use lower case
7 years ago
Peter Barker
3b1ca99b95
Copter: FlightMode - convert LAND flight mode
7 years ago
murata
acfcd9980d
Copter: Modify method name in method header.
7 years ago
Peter Barker
1d70a337dd
Copter: remove unused desired_climb_rate variable
8 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
Peter Barker
b9808662b8
Copter: remove dead code
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Randy Mackay
5894a54a16
Copter: althold uses current alt target if active
...
Previously we always reset the altitude target to the current altitude but this causes a jump if the vehicle is already in an alt-hold flight mode but has an altitude error
8 years ago
Jonathan Challinger
7cb9ad6e2b
Copter: descend normally from 35cm
8 years ago
Jonathan Challinger
f2ef8eec8c
Copter: use velocity output from AC_PrecLand
8 years ago
Andrew Tridgell
3041a75798
Copter: limit attitude on landing using WP_NAVALT_MIN
9 years ago
Jonathan Challinger
0051ecb288
Copter: fix LAND_SPEED_HIGH
9 years ago
Randy Mackay
542677f1d5
Copter: land vertical control uses current_loc.alt instead of get_alt_cm
...
This resolves a warning from Covarity that we were not checking the return
value of Location_Class::get_alt_cm. It was not actually a problem.
No functional change
9 years ago
Randy Mackay
ac4f36a992
Copter: remove LAND_REQUIRE_MIN_THROTTLE_TO_DISARM feature
...
This definition has been false for over a year and we have not heard of any users wanting to delay the disarming until the pilot's throttle goes to zero. Removing this feature removes a small bit of complexity from the code.
9 years ago
Randy Mackay
8681911a0b
Copter: small fix to precision land descent rate
9 years ago
Jonathan Challinger
a4827aff53
Copter: slow down precision landing descent based on position error
9 years ago
Jonathan Challinger
e22220ab62
Copter: refactor landing to reduce duplication, use vertical vel ff
9 years ago
Jonathan Challinger
91a5b26725
Copter: use simplified precland interface
9 years ago
Leonard Hall
7d54c268f6
Copter: consolidate input_euler_angle calls to use smoothing gain
...
Previously we had _smooth and non-smooth methods in the attitude
controller but as part of the move to quaternions these have been replaced
by a single call which always takes a smoothing gain
9 years ago
Randy Mackay
e6b3638d84
Copter: minor change to land mode's logic to use rangefinder
...
No functional change
9 years ago
Randy Mackay
5ac13c0355
Copter: move rangefinder variables into structure
...
moved in rangefinder_alt, rangefinder_alt_health and rangefinder_enabled
9 years ago