Commit Graph

22 Commits

Author SHA1 Message Date
Tom Pittenger 20dc48ed16 Coter: compiler warnings: apply is_zero(float) or is_equal(float) and float to doubles 2015-05-05 13:26:53 +10:00
Robert Lefebvre 8610da7fbc Copter: autopilot modes to check for motor interlock status 2015-05-01 14:30:33 +09:00
Leonard Hall 33a274c928 Copter: take-off uses PosControl's add_takeoff method
Also balances pilot and takeoff climb rates
Also removes takeoff's direct use of poscontrol target

Combined effort of Randy and Leonard
2015-05-01 12:56:32 +09:00
Randy Mackay 6f5b5c24f2 Copter: rename tkoff_ to takeoff_ 2015-05-01 12:56:21 +09:00
Jonathan Challinger 73d961cebc Copter: mavlink initiated takeoff in alt-hold modes
adds PILOT_TKOFF_ALT for target altitude above home in cm for pilot initiated takeoff
2015-05-01 12:56:18 +09:00
Leonard Hall b50f065cab Copter: use relax alt hold controllers 2015-04-16 21:00:28 +09:00
Jonathan Challinger 91a03ae0e7 Copter: add PILOT_THR_FILT and call set_throttle_out functions with that value 2015-04-16 21:00:11 +09:00
Jonathan Challinger b27b9dd86e Copter: use new throttle interface 2015-04-16 20:59:48 +09:00
Jonathan Challinger fddaca4cf7 Copter: rename get_throttle_surface_tracking to get_surface_tracking_climb_rate 2015-04-14 16:10:01 +09:00
Jonathan Challinger ecefe78417 Copter: interpret input in stabilize as a tilt vector 2015-03-11 22:24:42 +09:00
Randy Mackay 1819bd48f4 Copter: remove home_is_set checks from Loiter, PosHold, RTL
This allows these flight modes to potentially operate even when the
vehicle has never had a GPS lock.
Potentially we should replace this with a check that the EKF's origin
has been set
2015-01-22 14:40:19 +09:00
Randy Mackay 4185d17915 Copter: fix to RTL, PosHold and Loiter's use of filter status 2015-01-22 14:40:02 +09:00
Randy Mackay 199dc3454d Copter: replace GPS_ok with position_ok
position_ok uses the EKF's filter status if the EKF is being used
otherwise it falls back to the GPS based checks used by inertial nav
2015-01-22 14:39:45 +09:00
Randy Mackay a4f71e5946 Copter: replace inav's position_ok with get_filter_status 2015-01-22 14:39:42 +09:00
Robert Lefebvre d7ba808400 ArduCopter: Bug fix, int8t should be uint16t. 2015-01-06 15:02:48 +09:00
priseborough 963cc4d60a Copter: Add velocity gain scaler to interfaces
Allows nav gain to be scaled to compensate for optical flow noise
2014-12-06 18:16:50 +11:00
priseborough 9844dacf40 Copter: Add EKF ground speed limit to loiter speed control
This is required to prevent the speed controller saturating the optical flow sensor during low altitude flying.
2014-12-06 18:16:50 +11:00
Randy Mackay 1c11a91ec2 Copter: rename land_maybe_complete function 2014-09-19 16:43:17 +09:00
Randy Mackay 6951a20fb0 Copter: soften loiter target when maybe landed
Applies to auto's land, land, loiter, pos hold and rtl flight modes
2014-09-19 16:43:12 +09:00
Randy Mackay 52a3dc2bde Copter: reset target alt to current alt when landed 2014-08-04 16:56:03 +09:00
lthall 9202149fb1 Copter: integrate pre-takeoff throttle feedback
This feature slightly revs the motors in response to the pilot's input
before takeoff AltHold, Loiter, AutoTune, PosHold and Sport flight modes

pair-programmed with Randy Mackay
2014-07-18 11:41:50 +09:00
Randy Mackay 0fc73a0a21 Copter: rename control_hybrid to poshold 2014-07-11 14:06:53 +09:00