Commit Graph

5101 Commits

Author SHA1 Message Date
bnsgeyer
3b2c933306 Copter: heli: Update swashplate behavior
change swashplate behavior on ground in Acro, Stabilize, and AltHold
flight modes. See discussion here:

https://discuss.ardupilot.org/t/tradheli-swashplate-behavior-while-on-the-ground-and-potential-fix-to-issue-5396/22463/18
2017-11-06 17:02:25 +09:00
Randy Mackay
075564af2c Copter: support SET_GPS_GLOBAL_ORIGIN
also remove setting of origin from DO_SET_HOME command
initialise ekf_origin location when consuming SET_GPS_GLOBAL_ORIGIN
set_ekf_origin performs sanity check on location
2017-11-04 15:53:18 +09:00
Andrew Tridgell
61da180881 Copter: fixed motor runup check for heli
for all auto-throttle modes we should not allow a mode change to the
mode if the motor runup is not complete.

This moves the code to the set_mode() so it applies to all modes

fixes issue #6956
2017-11-04 15:06:04 +09:00
Andrew Tridgell
02f6f3b87b Copter: fixed collective input with H_SV_MAN=1 for heli
when H_SV_MAN=1 we do direct pass-thru so the user can test swash
range. The problem is that it uses norm_input() for throttle, which
depends on RC3_TRIM. Nowhere else in heli or copter do we depend on
RC3_TRIM, so the user gets a misleading idea of behaviour when testing
their swash.
2017-11-04 15:05:58 +09:00
Randy Mackay
1a85c237cb Copter: version to 3.5.3 2017-09-21 10:33:40 +09:00
Randy Mackay
9eb1db3dd2 Copter: 3.5.3 release notes 2017-09-21 10:33:05 +09:00
Randy Mackay
528d4d83d7 Copter: version to 3.5.3-rc1 2017-09-12 14:38:59 +09:00
Randy Mackay
ac108b31fa Copter: 3.5.3-rc1 release notes 2017-09-12 14:38:31 +09:00
Randy Mackay
ba6ca9511d Copter: remove enabled check from optflow init 2017-09-11 08:42:42 +09:00
Randy Mackay
215bd4208f Copter: integrate simpler Log_Write_EKF 2017-09-11 08:42:38 +09:00
Randy Mackay
7fee271e73 Copter: minor comment and formatting fixes
no functional change
2017-09-11 08:38:56 +09:00
Randy Mackay
a603e2485c Copter: guided stops rotating if no updates received for 3 seconds 2017-09-11 08:38:44 +09:00
Randy Mackay
0021e46a79 Copter: guided_set_destination accepts relative yaw 2017-09-11 08:38:40 +09:00
Randy Mackay
ab86fd56f1 Copter: set_auto_yaw_look_at_heading takes bool for relative angle arg
No functional change
2017-09-11 08:38:38 +09:00
Randy Mackay
ba179d0af4 Copter: add auto-yaw-rate and replace guided_angle_state.use_yaw_rate
We use the auto_yaw_mode in auto and guided modes to allow various yaw behaviours
This commit adds a new AUTO_YAW_RATE control to the mode and uses it within guided mode.
This new RATE control is not currently used within auto mode because there is no way (yet) for a mission command to specify a desired rate.
2017-09-11 08:38:35 +09:00
kouseii
2e6e429c04 Copter: guided mode supports heading and yaw-rate target 2017-09-11 08:38:32 +09:00
Randy Mackay
4322ffda37 Copter: version to 3.5.2 2017-08-14 11:40:25 +09:00
Randy Mackay
d12734128c Copter: 3.5.2 release notes 2017-08-14 11:39:43 +09:00
Randy Mackay
c58403a173 Copter: version to 3.5.2-rc1 2017-08-05 16:39:47 +09:00
Randy Mackay
fe14b60381 Copter: 3.5.2-rc2 release notes 2017-08-05 16:38:15 +09:00
Randy Mackay
20fee3d83b Copter: landing gear init on startup 2017-08-05 15:45:19 +09:00
Randy Mackay
52600c1958 Copter: enable landing gear based on RC output
previously it was enabled based on the transmitter's auxiliary switch
being setup
2017-08-05 15:45:18 +09:00
Randy Mackay
5a664bc348 Copter: landinggear_update formatting change
no functional change
2017-08-05 15:45:17 +09:00
Randy Mackay
106c1b4fde Copter: minor format fix to landing-gear update function 2017-08-05 15:45:16 +09:00
Randy Mackay
120489d017 Copter: backport fix for battery arming checks call parent AP_Arming
This is required because Copter-3.5 branch does not include gcs().send_text
2017-08-05 15:45:13 +09:00
Randy Mackay
af43666b6a Copter: battery arming checks call parent AP_Arming 2017-08-05 15:45:13 +09:00
Randy Mackay
d8ba0b2914 Copter: backport fix for add gps glitch notification and pre-arm check
This is required because Copter-3.5 branch does not include gcs().send_text
2017-08-05 15:45:12 +09:00
Randy Mackay
63c032b8cc Copter: add gps glitch notification and pre-arm check 2017-08-05 15:15:56 +09:00
Randy Mackay
8ab1b3eb46 Copter: version to 3.5.1 2017-07-31 11:21:16 +09:00
Randy Mackay
eadb433c75 Copter 3.5.1 release notes 2017-07-31 11:20:58 +09:00
Randy Mackay
92f68decb9 Copter: version to 3.5.1-rc1 2017-07-24 14:41:37 +09:00
Randy Mackay
0390a3be99 Copter: 3.5.1-rc1 release notes 2017-07-24 14:41:22 +09:00
Randy Mackay
633501f972 Copter: version to 3.5.0 official 2017-07-17 10:46:53 +09:00
Randy Mackay
21751f1eb6 Copter: update 3.5.0 release notes 2017-07-17 10:46:18 +09:00
Randy Mackay
3a3f6c9442 Copter: version to 3.5.0-rc11 2017-07-12 11:46:31 +09:00
Randy Mackay
465d90acae Copter: 3.5.0-rc11 release notes 2017-07-12 11:46:25 +09:00
Randy Mackay
c85c9578c2 Copter: version to 3.5.0-rc10 2017-07-08 10:00:06 +09:00
Randy Mackay
912e9b59d3 Copter: 3.5.0-rc10 release notes 2017-07-08 09:59:45 +09:00
Randy Mackay
242c8f0b57 Copter: version to 3.5.0-rc9 2017-07-03 10:35:28 +09:00
Randy Mackay
44028b24a3 Copter: 3.5.0-rc9 release notes 2017-07-03 10:35:05 +09:00
Leonard Hall
54fd4f7b5a Copter: fix autotune accel max not being used until reboot
Once autotune completes successfully, the discovered acceleration maximums should be used if the pilot tests the tune
2017-07-03 10:11:41 +09:00
Randy Mackay
7704f85322 Copter: autotune minor format fix 2017-07-03 10:11:38 +09:00
Leonard Hall
40d18ff1da Copter: autotune keeps constant attitude while holding position 2017-07-03 10:11:35 +09:00
Randy Mackay
26622e280f Copter: fix compile error when logging disabled
Also slightly re-order placement of functions
2017-07-03 10:11:29 +09:00
Leonard Hall
2a34de7514 Copter: attitude logging at 400hz 2017-07-03 10:11:26 +09:00
Randy Mackay
87abccef6c Copter: version to 3.5.0-rc8 2017-06-15 11:59:02 +09:00
Randy Mackay
b5890d8c9d Copter: 3.5.0-rc8 release notes 2017-06-15 11:58:45 +09:00
Randy Mackay
5e3c30b0fe Copter: landing gear position set less often
This change means no pwm output is sent to the landing gear servos until the pilot has moved the switch
2017-06-15 10:33:21 +09:00
Peter Barker
35a00473a8 Copter: StartUnstartedLogging replaces logging_started/start_logging 2017-06-15 10:28:51 +09:00
Peter Barker
cfd6d95927 Copter: simplify should_log (NFC) 2017-06-15 10:28:34 +09:00