Leonard Hall
b50f065cab
Copter: use relax alt hold controllers
10 years ago
Jonathan Challinger
91a03ae0e7
Copter: add PILOT_THR_FILT and call set_throttle_out functions with that value
10 years ago
Jonathan Challinger
b27b9dd86e
Copter: use new throttle interface
10 years ago
Jonathan Challinger
fddaca4cf7
Copter: rename get_throttle_surface_tracking to get_surface_tracking_climb_rate
10 years ago
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
10 years ago
Randy Mackay
4185d17915
Copter: fix to RTL, PosHold and Loiter's use of filter status
10 years ago
Randy Mackay
fd0b82f669
Copter: add optflow_position_ok and use for loiter
...
This allows entering Loiter flight mode with only optical flow based
position
10 years ago
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
10 years ago
Randy Mackay
a4f71e5946
Copter: replace inav's position_ok with get_filter_status
10 years ago
priseborough
963cc4d60a
Copter: Add velocity gain scaler to interfaces
...
Allows nav gain to be scaled to compensate for optical flow noise
10 years ago
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.
10 years ago
Randy Mackay
1c11a91ec2
Copter: rename land_maybe_complete function
11 years ago
Randy Mackay
6951a20fb0
Copter: soften loiter target when maybe landed
...
Applies to auto's land, land, loiter, pos hold and rtl flight modes
11 years ago
Randy Mackay
52a3dc2bde
Copter: reset target alt to current alt when landed
11 years ago
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
11 years ago
Randy Mackay
08801eebf2
Copter: integrate AttControl's set_yaw_target_to_current_heading
11 years ago
Randy Mackay
77d5d682c1
Copter: integrate init_targets rename to relax_bf_rate_controller
...
Also remove unnecessary init_targets from flight mode init functions.
11 years ago
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
11 years ago
Randy Mackay
20de5b3006
Copter: Loiter clears out pilot acceleration when failsafe occurs
...
This ensures invalid pilot desired accelerations are cleared from the
loiter controller. This is probably not strictly necessary because the
vehicle should switch out of Loiter and into RTL during failsafe.
11 years ago
Randy Mackay
0d23c3b910
Copter: initialise vertical speed for Loiter mode
11 years ago
Randy Mackay
3ccd1ad170
Copter: integrate AttControl method name changes
11 years ago
Randy Mackay
2c1ec9d0c0
Copter: remove control_roll, pitch, yaw from control files
11 years ago
Randy Mackay
22280e1c57
Copter: integrate surface_tracking to control_althold
11 years ago
Randy Mackay
837061fd65
Copter: control_ofloiter added
11 years ago
Randy Mackay
eec62cb16a
Copter: control_loiter initialises alt target
11 years ago
Randy Mackay
e27f4c1c13
Copter: split control_stabilize into land, rtl, loiter
11 years ago