Commit Graph

4899 Commits

Author SHA1 Message Date
Randy Mackay
742cdf6b13 Copter: fix arming while armed bug
If a mavlink command was sent to arm the vehicle while it was already armed, the in_arm_motors boolean was left as true meaning the vehicle could never be armed again using a mavlink message.  This resolves issue #5546.
2017-01-11 21:38:22 +09:00
Randy Mackay
bdbb07a3b1 Copter: remove version from Copter.cpp
Also added wiki page URL
2017-01-11 08:46:43 +09:00
murata
e65887c393
Copter: Change sprintf method to secure snprintf method. 2017-01-09 16:05:56 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea Spell in comments 2017-01-06 10:57:39 -08:00
Randy Mackay
2416e66103 Copter: 3.4.4 release notes 2017-01-06 14:53:46 +09:00
Randy Mackay
6b4acebd26 Copter: bigger buf when sending frame string to frsky telem 2017-01-05 13:45:53 +09:00
Luis Vale Gonçalves
b9e83755f3 Copter: Notify GCS that Flight mode change failed
Copter: Notify GCS that Flight mode change has failed
2017-01-05 02:16:32 +00:00
Randy Mackay
e32ddaa7fa Copter: reorder beacon and proximity declaration
resolves compiler warning
2017-01-04 19:58:53 +09:00
Peter Barker
a233024e05 Copter: fix compilation when fence andd proximity are disabled
This adds AC_AVOID_ENABLED; avoidance must be disabled if either
of fence or proximity are disabled.

Parameter definitions have been reordered to avoid compiler warnings;
this make sthe numbering non-linear
2017-01-03 10:44:03 +09:00
Peter Barker
d3e331e1f2 Copter: correct compilation when rally disabled 2017-01-03 10:24:56 +09:00
Peter Barker
cf4be25d61 Copter: correct compilation when camera disabled 2017-01-03 10:24:35 +09:00
Peter Barker
4ef927ebea Copter: correct compilation when AFS enabled (using make) 2017-01-03 10:23:50 +09:00
Peter Barker
8033e0c315 Copter: fix compilation when gripper disabled 2017-01-02 15:59:30 +09:00
Peter Barker
990d5fd0e5 Copter: fix compilation when logging disabled 2017-01-01 18:22:53 -08:00
Randy Mackay
d011783d76 Copter: fix FRAME_TYPE param description 2016-12-31 10:55:23 +09:00
Randy Mackay
e31d6d051d Copter: get_frame_mav_type switch fix
This returns generic as the mavtype and avoids warnings of unreachable code
Thanks to muramura for suggesting this
2016-12-31 10:55:23 +09:00
Randy Mackay
12d024e0c6 Copter: rename FRAME to FRAME_TYPE
This unifies the plane and copter parameter names
2016-12-31 10:55:23 +09:00
Randy Mackay
01bcf5e528 Copter: add arming checks for motor setup 2016-12-31 10:55:23 +09:00
Randy Mackay
217757fdc8 Copter: default FRAME_CLASS 2016-12-31 10:55:23 +09:00
Randy Mackay
0ac00dbfd6 Copter: add FRAME_CLASS parameter 2016-12-31 10:55:23 +09:00
Peter Barker
3551609a21 Copter: payload place requires 30% throttle reduction to release 2016-12-24 11:53:19 +09:00
Peter Barker
c191a44b27 Copter: payload place skips releasing states if gripper not valid 2016-12-24 11:50:01 +09:00
murata
f747716172 Copter: Changed if statements to switch statement.
Copter: Correct the processing in Guided mode.

Copter: Insert white space.
2016-12-24 11:24:35 +09:00
Randy Mackay
b845668f23 Copter: 3.4.4-rc1 release notes 2016-12-22 02:26:11 +09:00
Randy Mackay
dbbf6cae5c Copter: arming check ignores proximity if avoidance disabled 2016-12-20 19:48:09 +09:00
Randy Mackay
38478638de Copter: aux switch for enable/disable proximity based avoidance 2016-12-20 19:48:02 +09:00
Randy Mackay
5f0a4c2097 Copter: integrate non-GPS avoidance into althold 2016-12-20 19:48:00 +09:00
Randy Mackay
377a747065 Copter: minor format fix for fall through for payload-place 2016-12-19 17:01:19 +09:00
Randy Mackay
2371b05696 Copter: init avoid-adsb and prec-loiter enabled from switch positions
Without this there could be a mismatch between the switch position and whether the feature is enabled/disabled
2016-12-19 17:01:16 +09:00
Randy Mackay
2365036e5c Copter: move #if within case statement in switches.cpp
This removes some compile warnings when features are disabled
2016-12-19 17:01:12 +09:00
Randy Mackay
70feff487e Copter: format fixes to switches.cpp
No functional change
2016-12-19 17:01:09 +09:00
Randy Mackay
a43229de0f Copter: fix z-axis accel parameter description 2016-12-19 17:01:06 +09:00
priseborough
38ad778ff1 make.inc: Add EKF3 and remove EKF1 library from make.inc files 2016-12-19 08:07:10 +11:00
Andrew Tridgell
c3b9dbf5c8 ArduCopter: Add EKF3 and remove EKF1 2016-12-19 08:07:09 +11:00
Randy Mackay
c846cc249d Copter: fix heli pos-hold run-up-complete issue 2016-12-15 19:00:21 +09:00
Randy Mackay
a2474667a8 Copter: minor formatting fix
no functional change
2016-12-14 13:22:24 +09:00
Randy Mackay
5f60961866 Copter: fix suppressing comment for case fall through
eclipse stops complaining if no-break is used in place of fall-through
2016-12-14 13:22:04 +09:00
Randy Mackay
0ab0658849 Copter: 3.4.3. release notes get compass cal fix 2016-12-09 11:39:05 +09:00
Randy Mackay
3d3fb6e74b Copter: fix version in release notes 2016-12-09 08:32:12 +09:00
Randy Mackay
3c993a76e2 Copter: 3.4.3 release notes 2016-12-09 07:57:43 +09:00
Randy Mackay
c1d1ac5c6f Copter: pass HIL_GPS to gps driver 2016-12-08 15:52:26 +09:00
Pierre Kancir
5900653b7f Copter: Commands_logic fix comparing floating point with == 2016-12-06 09:31:21 -08:00
Pierre Kancir
8d4bad0742 Copter: Commands_logic fix implicit cast to double 2016-12-06 09:31:21 -08:00
Pierre Kancir
f2ea388a69 Copter: control_auto remove misplaced parenthesis 2016-12-05 10:59:45 -08:00
Pierre Kancir
3fc17a5ed5 Copter: avoid must be initialized after fence as it use it 2016-12-05 10:59:45 -08:00
Peter Barker
556eb88fe5 Copter: fix compile when precland is not selected
Fixes #5327
2016-12-05 20:03:00 +09:00
Michael du Breuil
8c077a357c Copter: add compass cal capability bit 2016-12-04 19:17:01 -08:00
Peter Barker
4aab4f72b6 Copter: move to releasing payload if we are landed 2016-12-02 13:25:34 +11:00
Peter Barker
289aba4350 Copter: support for NAV_CMD_PLACE 2016-12-02 12:52:53 +11:00
Randy Mackay
128b4562a5 Copter: 3.4.3-rc1 release notes 2016-12-01 19:40:21 +09:00