Commit Graph

5837 Commits

Author SHA1 Message Date
Randy Mackay
f8773e0bdc Copter: enable ground effect compensation by default 2018-11-12 13:43:42 +09:00
Randy Mackay
d6dca1f6a1 Copter: landing gear deployment height calc uses lidar status 2018-11-10 21:24:19 +11:00
Andrew Tridgell
2f79932611 Copter: auto-convert landing gear PWM parameters 2018-11-10 21:24:19 +11:00
Andrew Tridgell
144e1945c6 Copter: support height based landing gear 2018-11-10 21:24:19 +11:00
Peter Barker
176ee507a2 Copter: make mavlink rangefinder health bit depend just on data available
This means the sensor is healthy even if it is out of range.

This is a partial revert of commit 724f34c7e7 (diff-577a72d2550199fabbdfd77fa5890368R408)
2018-11-10 12:20:27 +09:00
Randy Mackay
0d4ab51f15 Copter: 3.6.1 release notes 2018-11-10 10:20:54 +09:00
Peter Barker
73940df48e Copter: move mission into mode_auto 2018-11-09 13:35:40 +09:00
Andrew Tridgell
637dc718df Copter: moved LANDING_GEAR to common RC_Channel 2018-11-09 14:35:14 +11:00
Peter Barker
bf1c82ffe1 Copter: don't pass ahrs to terrain constructor 2018-11-08 20:59:45 +11:00
Peter Barker
f598cff99c Copter: stop passing ahrs to Mission constructor 2018-11-08 10:01:16 +09:00
Peter Barker
b0494c1491 Copter: add override keyword where required 2018-11-08 11:30:12 +11:00
murata
0dacfc0d9c Copter: Add patch number to VERSION notation 2018-11-08 09:11:07 +09:00
murata
7a3f84566a Copter: Delete the last newline of the message. 2018-11-07 11:59:58 +09:00
Randy Mackay
e0d94ceaf2 Copter: 3.6.1-rc1 release notes 2018-11-06 13:53:40 +09:00
Peter Barker
72440e2af3 Copter: allow VFR_HUD.alt to be relative-alt if DEV_OPTIONS has bit 2 set 2018-11-06 11:26:38 +09:00
Michael du Breuil
f7245e7797 Copter: Remove old parameter conversion that conflicts with newer code 2018-11-06 10:18:39 +09:00
Michael du Breuil
5740ea55e8 Copter: Fix battery failsafe param conversion 2018-11-06 10:18:39 +09:00
Peter Barker
1d322046b0 Copter: tidy up send_pid_tuning 2018-11-06 08:19:15 +09:00
Peter Barker
7c86ce4d81 Copter: change default streamrate for ADSB from 5 to 0
No other stream has a default streamrate in Copter.

This causes us small amounts of overhead as it marks all channels as
streaming.
2018-11-05 14:57:55 +09:00
Michael du Breuil
0f636db159 Copter: Make capability init consistent 2018-11-05 14:04:36 +11:00
Peter Barker
7e581da1cf Copter: implement misson LOITER_TO_ALT 2018-10-30 17:50:46 +09:00
Peter Barker
859f4828a1 Copter: move handling of gimbal messages up
Copter: move handling of mav_cmd_do_mount_control up

Copter: move handling of deprecated mount messages up

Copter: move handling of command_do_set_roi up

Copter: move handling of command_do_set_roi up

Copter: mount no longer takes ahrs in constructor
2018-10-30 17:19:14 +11:00
Peter Barker
a339d77f08 Copter: let AP_Mission handle common camera commands 2018-10-30 15:37:18 +11:00
Peter Barker
f97281eb48 Copter: move servorelayevents mission handling into AP_Mission 2018-10-30 15:37:18 +11:00
Peter Barker
1eec264d6c Copter: mission library handles gripper 2018-10-30 15:37:18 +11:00
Randy Mackay
e1ded6e0dc Copter: winch disabled by default 2018-10-30 13:25:22 +09:00
Randy Mackay
e51d842ca5 Copter: fix flowhold param description 2018-10-30 11:05:47 +09:00
Peter Barker
7cfc020c3c Copter: AC_Avoid is built on all vehicles 2018-10-30 12:10:42 +11:00
Peter Barker
7017345fc9 Copter: let RC_Channel parent library do AC_Avoid stuff 2018-10-30 12:10:42 +11:00
Randy Mackay
9aa0e3b0ad Copter: 3.6.0 release notes 2018-10-27 11:43:10 +09:00
Randy Mackay
ccee1e6e2e Copter: flowhold descending bug fix 2018-10-27 10:44:19 +09:00
Randy Mackay
69c00285bd Copter: fix flowhold logging format 2018-10-27 10:44:19 +09:00
Randy Mackay
d7aa7fb63b Copter: flowhold formatting fixes 2018-10-27 10:44:19 +09:00
Randy Mackay
8fdd439827 Copter: land mode minor format fixes 2018-10-27 10:44:19 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
b74ae2d912 Copter: Obey and preserve DO_SET_ROI commands when executing LOITER_TURNS mission commands 2018-10-23 10:19:05 +09:00
Andrew Tridgell
1978a0cb94 ArduCopter: fixed build warnings 2018-10-17 12:54:22 +11:00
Peter Barker
332340135f Copter: leave AHRS to log and notify home changes 2018-10-16 10:55:13 +11:00
Peter Barker
a90cfc7db7 Copter: clarify prearm failure messages 2018-10-16 10:31:10 +11:00
Peter Barker
7af119b497 Copter: factor out loc_from_cmd from three functions 2018-10-16 10:17:12 +11:00
Peter Barker
5f552a6ce3 Copter: stop shadowing members of Copter
These references were taken to make the breaking out of Modes in Copter.

A lot of other code has already caused these sorts of things to go away,
but these particular ones seem reasonable to fix by pointing the users
at the copter object directly.
2018-10-16 10:17:12 +11:00
Peter Barker
1a660cefae Copter: remove unused STREAM_RAW_CONTROLLER_msgs variable 2018-10-16 10:17:12 +11:00
Peter Barker
e02a645354 Copter: use fabsf() instead of labs()
wrap_180_cd returns a float

substracting a float from an int32 returns a float
2018-10-16 10:17:12 +11:00
Leonard Hall
d29a47d605 Copter: Add thrust check, counter reset and comments 2018-10-16 00:44:50 +09:00
Leonard Hall
1a3d181756 Copter: Fix feedback in crash check 2018-10-16 00:44:50 +09:00
Randy Mackay
0cf2850593 Copter: fix thrust_loss check angle check
angle deviation corrected to 15deg and based on total lean angle instead of roll and pitch separately
fixed compile error on send_text
2018-10-16 00:44:50 +09:00
Randy Mackay
7a43a21784 Copter: formatting fixes to thrust loss check 2018-10-16 00:44:50 +09:00
Leonard Hall
54a59f581f Copter: add motor thrust lost check 2018-10-16 00:44:50 +09:00
Sam Bristow
823d09b212 Copter: Fix confusing indentation
Commit d94663d5 introducted a minor whitespace issue which made the
indentation of the nested if statements slightly confusing. We may as
well clean it up sooner rather than later :-)
2018-10-15 16:32:15 +11:00
chobitsfan
d94663d5af Copter: support changing vertical speed in DO_CHANGE_SPEED 2018-10-13 13:16:26 +09:00
Peter Barker
c70c946651 Copter: correct mode_zigzag compilation for ekf scalar change 2018-10-08 19:23:57 -07:00