Commit Graph

31 Commits

Author SHA1 Message Date
Robert Lefebvre 8610da7fbc Copter: autopilot modes to check for motor interlock status 2015-05-01 14:30:33 +09:00
Jonathan Challinger 36cc832931 Copter: guided_posvel run update_z_controller at 400hz 2015-04-29 12:26:41 +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 4e09c9832b Copter: fix guided_posvel and guided_vel to update pos_control at same rate as wpnav 2015-04-14 16:29:04 +09:00
Jonathan Challinger 301d4cc4a6 Copter: fix guided takeoff altitude 2015-04-14 16:10:05 +09:00
Randy Mackay a70f98552e Copter: rename xy_mode 2015-02-06 17:00:58 +09:00
Jonathan Challinger e71ad72fc0 Copter: update usage of update_xy_controller 2015-02-06 17:00:51 +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 80f59694d0 Copter: remove deprecated Guided-Spline
Guided-Spline has been replaced by Guided-PosVel
2015-01-07 14:03:50 +09:00
Randy Mackay be5bf91e92 Copter: add ekf velocity scaler to posvel controller
Also set auto-yaw-mode to yaw-hold only when posvel controller is
started instead of on every iteration.
added GUIDED_POSVEL_TIMEOUT_MS definition.
removed deprecated trigger_xy call.
Also use wp_nav.get_speed_xy in place of get_speed_param
2015-01-07 14:03:08 +09:00
Jonathan Challinger bc29008233 Copter: add guided_posvel 2015-01-07 14:02:21 +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
Jonathan Challinger 1b1327dc93 Copter: add Guided_Spline mode 2014-11-17 14:38:48 -08:00
Jonathan Challinger e7939cca01 Copter: change function definitions in guided to static 2014-11-17 14:38:43 -08:00
Randy Mackay 6659473420 Copter: support GUIDED_ENABLE and GUIDED_LIMITS
Split of NAV_GUIDED into these two command necessitated guided mode
store the limits
2014-10-13 21:40:24 +09:00
Randy Mackay e5c3c306bd Copter: remove unused pilot_yaw_override flag 2014-10-13 21:40:21 +09:00
Randy Mackay 77e89214eb Copter: shift pos targets to current location before takeoff 2014-09-29 15:26:54 +09:00
ggregory8 013b1333b1 Copter: Add guided_takeoff_start and guided_takeoff_run functions 2014-08-05 10:25:33 +09:00
Randy Mackay 2dfef17caf Copter: guided reset yaw only when initialised 2014-07-06 17:02:13 +09:00
Randy Mackay 46badc05bc Copter: guided mode sets desired velocity instead of target velocity 2014-07-06 17:01:12 +09:00
Randy Mackay f5640dadbf Copter: guided mode velocity controller 2014-07-06 17:01:08 +09:00
Randy Mackay af4490a3d5 Copter: remove mode from guided_set_dest
This duplicate check stopped us from reusing guided
guided_set_destination as part of Auto's nav_guided command
2014-07-06 17:00:29 +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
Randy Mackay 3cc5b9446f Copter: AUTO and Guided call wp_and_spline_init 2014-05-08 16:15:55 +09:00
Randy Mackay 8f946a3a8c Copter: remove original_wp_bearing
To-Do: extend wpnav yaw control to only repoint nose towards waypoint if
it is more than 5m or 10m away
2014-03-28 09:23:21 +09: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 d3a126d078 Copter: integrate slew_yaw into control_auto 2014-02-15 05:27:45 +11:00
Randy Mackay 0e41b01ad0 Copter: control_guided added 2014-02-15 05:27:41 +11:00