Commit Graph

32 Commits

Author SHA1 Message Date
Robert Lefebvre 8f275ca2c4 Copter: Employ heli_radio_passthrough() for servo setup 2015-05-25 22:13:39 +09:00
Andrew Tridgell 554de1f2d7 Copter: added channel objects named after input function
this follows the pattern used in plane and rover
2015-05-25 22:13:23 +09:00
Randy Mackay 7acdcd8905 Copter: rename stop to brake 2015-05-17 14:44:34 +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 772a1acc37 Copter: cancel takeoff if mode changed 2015-05-01 12:56:28 +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
Robert Lefebvre 1aa696bc10 Copter: Implement Stop Mode 2015-04-26 16:11:47 +09:00
Randy Mackay 61ed812fc4 Copter: set Notify's autopilot_mode flag 2015-03-06 17:26:49 +09:00
Randy Mackay 43ba94e99a Copter: rename manual_flight_mode to mode_has_manual_throttle 2015-02-02 22:31:01 +09:00
Robert Lefebvre 4b86a4aeec Arducopter: Change mode logging to use common-vehicle DataFlash library. 2015-01-21 14:37:20 +09:00
Andrew Tridgell fba02479b7 Copter: fixed build with no EKF 2014-12-06 18:43:38 +11:00
priseborough 9e7709fa09 Copter: Expand EKF speed limit public method to handle control limits 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
priseborough 900519b35b Copter : Remove legacy optical flow control mode
This mode is not compatible with the new PX4Flow interface
2014-12-06 18:16:43 +11:00
Randy Mackay 9d4107f1fc Copter: allow arming in GUIDED only from GCS
Also changed mode_allows_arming function to accept arming_from_gcs param
Also remove AUTOTUNE from arming list
2014-10-11 16:05:32 +09:00
Jonathan Challinger cc56a972d0 Copter: add mode_allows_arming function 2014-10-11 15:34:10 +09:00
Jonathan Challinger 450f988a21 Copter: remove DRIFT and SPORT from manual_flight_mode function 2014-10-11 15:27:45 +09:00
Randy Mackay a83a47682d Copter: remove get_angle_targets_for_reporting fn
this saves a tiny amount of time by removing the memory copy of a
Vector3f
2014-08-22 22:56:21 +09:00
Robert Lefebvre 3316fe8f63 TradHeli: Reset flybar passthrough to false when exiting Acro mode. 2014-08-22 16:28:50 +09:00
Randy Mackay 3e6e776360 Copter: of-loiter unavailable if OPTFLOW not enabled
of-loiter was small but still present even when optflow was disabled
2014-08-01 15:14:32 +09:00
Randy Mackay 65e5367619 Copter: rename hybrid to poshold 2014-07-11 14:09:01 +09:00
Jason Short a873942f73 Fix to restore Gimbal control after Mission with ROI 2014-06-10 20:03:05 +09:00
Randy Mackay 7d4c74c28e Copter: when leaving AUTO only stop mission if running
This resolves an issue in which the mission would not automatically
start from the beginning if it had previously been run to completion
2014-05-15 16:21:30 +09:00
Andrew Chapman 3f0a52cb53 Copter: ch7/8 switch for auto pause/continue
- added new mode for CH7/CH8 (#24, auto mission reset)
- changed mission.start() to mission.start_or_resume() in auto_init()
2014-05-08 23:09:42 +09:00
Randy Mackay 1aeaa5955b Copter: integrate 10sec manual recovery after fence breach 2014-04-27 11:11:09 +09:00
Randy Mackay 55e7e1eb3e Copter: allow HYBRID to be disabled to save flash
Hybrid flight mode costs 4.5k of flash which currently puts us over the
limit for APM1 and APM2 unless optical flow or other features are
disabled
2014-04-23 15:27:05 +09:00
Randy Mackay b5ed23f592 Copter: integrate skeleton Hybrid mode 2014-04-23 14:59:17 +09:00
lthall 7ed5080dc9 Copter: simplify get_angle_targets_for_reporting 2014-02-15 06:09:08 +11:00
Randy Mackay 10a0303706 Copter: smooth throttle transition between flight modes 2014-02-15 05:27:50 +11:00
Randy Mackay d579325e2a Copter: add get_angle_targets_for_reporting
This returns the current earth frame roll, pitch and yaw targets which
can depend upon the flight mode
2014-02-15 05:27:47 +11:00
Randy Mackay b8bb477731 Copter: add flight_mode.pde 2014-02-15 05:27:47 +11:00