Commit Graph

665 Commits

Author SHA1 Message Date
Randy Mackay 3b59cde1b8 Copter: deactivate accel throttle controller when landed 2013-07-28 18:19:01 +09:00
Randy Mackay da37089dc2 Copter: remove landing checks in loiter controller 2013-07-28 18:18:57 +09:00
Randy Mackay 8eefbdce44 Copter: turn off stability patch when landed in Loiter 2013-07-28 18:18:54 +09:00
Randy Mackay 9a1a999fba Copter: landing check changes 2013-07-28 18:18:50 +09:00
Randy Mackay 24d15517ff Copter: clear thr accel I term on take-off 2013-07-28 18:18:45 +09:00
Randy Mackay 05248738e2 Copter: bug fix for take-off in loiter 2013-07-28 18:18:43 +09:00
Randy Mackay c3daf78340 Copter: reset loiter target when landed 2013-07-28 18:18:41 +09:00
Robert Lefebvre 2a9f4bbbad TradHeli: Creating new unified roll/pitch rate controller. 2013-07-19 16:16:12 +09:00
Robert Lefebvre 23ea151ca5 TradHeli: Fix Heli rate controller filter rates. 2013-07-19 16:16:10 +09:00
Robert Lefebvre b4863dc997 TradHeli: Change to throttle controller to allow swash plate collective to move, even if disarmed, if we are in Acro or Stab. This is slightly dangerous... as a user could cause a problem if they do not follow the proper usage procedures. If they do not route the ESC through the APM, but instead direct to Rx. And then if they do not Arm, they could take off in Stab mode while disarmed, but then when they switch to Alt_Hold, it will drop the collective to the bottom and they will fall. This can be saved by switching back to Stab. And it requires operation outside of the normal operating procedure.
This change is being made because most heli users expect to be able to check the swash plate operation before arming and taking off.
2013-07-19 16:16:04 +09:00
Andrew Tridgell 9a159a5e23 Copter: make wp_distance static
removed hack with AP_Camera library
2013-07-15 09:56:45 +10:00
Leonard Hall 64ce9b017d Copter: Body frame ACRO upgrade 2013-07-11 17:53:25 +09:00
Randy Mackay 6dd446ac79 Copter: firmware version to 3.0.1 2013-07-11 16:45:05 +09:00
Andrew Tridgell 5ae62f4f04 Copter: fixed build with specified GPS driver 2013-07-11 14:27:42 +10:00
Randy Mackay 8cb7bd628e Copter: change firmware version to 3.0.1-rc2 2013-07-10 15:52:21 +09:00
Andrew Tridgell da4137b731 Copter: changes for GPS field changes 2013-07-10 14:04:22 +10:00
Craig@3DR bbd4fbd2fb Copter: trigger + logging on camera update_location() 2013-07-10 08:39:59 +10:00
Randy Mackay 79d2fe6271 Copter: double flash arming light when pre-arm checks fail
Hardly my finest work but it's temporary because we're going to replace
all the led, buzzer etc with a library called AP_Notify in the near
future.
2013-07-04 16:26:22 -10:00
Randy Mackay 404cd5f3da Copter: rename g.pid_throttle to g.pid_throttle_rate
Small code clean-up to make throttle rate controller's pid more obvious
2013-06-30 00:04:21 -10:00
Randy Mackay b3da8a462f Copter: CH6 tuning definition clean-up
Renamed and reorganised the CH6 #defines and parameter definitions
2013-06-29 23:51:43 -10:00
Randy Mackay 0592475959 Copter: change firmware version to 3.0.0-rc1 2013-06-26 14:03:28 +09:00
Randy Mackay 45dfbecaba Copter: update 3.0.1 version and release notes 2013-06-26 00:09:36 +09:00
Andrew Tridgell 3e82f644ea Copter: enabled CAM_TRIGG_DIST parameter 2013-06-25 12:52:44 +10:00
Randy Mackay 245bc3d3fd Copter: show pilot input in dataflash ATT message even when in AUTO
AUTO mode ignores pilot input but we still want to be able to see the
pilot's input in the Roll-In and Pitch-In columns of the dataflash's ATT
message
2013-06-19 12:37:13 +09:00
Randy Mackay b1a014e12e Copter: update firmware version to 3.0.0 2013-06-18 10:03:40 +09:00
Randy Mackay b1e089fe29 Copter: update AC3.0-rc6 version and release notes 2013-06-16 11:48:03 +09:00
Randy Mackay dd92a2ba07 Copter: AC3.0-rc5 version and release notes 2013-06-04 15:25:56 +09:00
Andrew Tridgell ba959fd594 Copter: remove unused define 2013-06-04 10:36:34 +10:00
Andrew Tridgell 595d3c694a Copter: make it possible to change board orientation at runtime 2013-06-03 16:52:52 +10:00
Randy Mackay 213eaa8db6 Copter: integrate draft RCMapper 2013-06-03 16:23:47 +10:00
Randy Mackay 9e91def774 Copter: update firmware version and release notes 2013-06-02 12:19:36 +09:00
Dr Gareth Owen 4c6d6ea96e changed yaw reset to when armed to not use initial_simple_bearing 2013-06-02 11:29:30 +09:00
Randy Mackay 99f5462a03 Copter: circle mode fixes 2013-06-01 18:21:30 +09:00
Randy Mackay 1722e438d8 Copter: pass alt hold gain to WP_Nav library 2013-05-31 21:04:10 +09:00
Randy Mackay 838fb3f4e2 Copter: don't spin motors in ALTHOLD with zero throttle 2013-05-27 10:42:22 +09:00
Dr Gareth Owen 1aca66460e 7 yaw when armed option changed so overridable by user 2013-05-24 11:14:06 +09:00
Randy Mackay 22e9b95c3c Copter: version update to 3.0.0-rc3 2013-05-22 17:46:28 +09:00
Randy Mackay 00bd1bf8ea Copter: RESETTOARMEDYAW order and comments
We should keep the order in the case statement the same as the #define
order.
2013-05-21 10:58:34 +09:00
Dr Gareth Owen f646b79e5f indent correct again 2013-05-21 10:40:36 +09:00
Dr Gareth Owen d9fc37c01c indent correct 2013-05-21 10:40:34 +09:00
Dr Gareth Owen e9d640ced8 added ch7 option to reset yaw back to what it was when quad was armed 2013-05-21 10:40:30 +09:00
Randy Mackay 6efdabb104 Copter: move auto disarm into a separate function 2013-05-20 14:05:50 +09:00
Randy Mackay 1dbe98b566 Copter: display reason for pre-arm-check failures in GCS 2013-05-20 13:03:18 +09:00
Randy Mackay 55f1b3b2ae Copter: reorganise medium loop
Shifted compass logging to happen when compass is read.
Updated comments.
2013-05-20 11:18:51 +09:00
Randy Mackay c840e2a8c2 Copter: code clean-up move 10hz loop after 50hz loop 2013-05-20 11:05:14 +09:00
Randy Mackay 38239c652a Copter: ch8 aux switch
Ch8 can be used as an aux switch like ch7.  Has all the same options as
ch7 and there is a safety check to ensure both switches aren't set to
the same function so as to avoid interfering with each other
2013-05-17 14:42:28 +09:00
Randy Mackay 19394918dd Copter: simplify APM_Config.h
Remove items that can be more easily set with parameters
2013-05-17 12:01:39 +09:00
Randy Mackay 9d0f40b432 Copter: add pre_arm_rc_check
Motors are not be enabled unless we have passed rc checks which include
checking the radio in calibration has been performed.
2013-05-16 16:32:00 +09:00
Randy Mackay 33d1129904 Copter: remove unused TB_RATIO parameter 2013-05-14 16:56:55 +09:00
Randy Mackay 319f3ef560 Copter: flexible CH6 declination tuning range 2013-05-13 23:37:30 +09:00