Commit Graph

4917 Commits

Author SHA1 Message Date
Andrew Tridgell
1297a7dedb Copter: convert the rest of motors class for tricopter 2017-01-12 17:39:37 +11:00
Andrew Tridgell
7aee3500e1 Copter: added conversion of tricopter tail servo parameters 2017-01-12 17:39:37 +11:00
Andrew Tridgell
a3220944d8 Copter: make conversion tables constant 2017-01-12 17:39:37 +11:00
Andrew Tridgell
6a12ed0d65 Copter: upgrade heli servo parameters 2017-01-12 17:39:37 +11:00
Andrew Tridgell
bf889e01e1 Copter: load objects from storage after allocation 2017-01-12 17:39:37 +11:00
Andrew Tridgell
3fe1a69a32 Copter: always allocate a motors backend
this allows autotest to run, and gives a less confusing error to users
when no FRAME_CLASS error is selected
2017-01-12 17:39:37 +11:00
Andrew Tridgell
c0c25e0588 Copter: fixed parameter doc paths 2017-01-12 17:39:37 +11:00
Andrew Tridgell
8dcde8ee92 Copter: make binary names arducopter and arducopter-heli 2017-01-12 17:39:37 +11:00
Andrew Tridgell
e85df47b06 Copter: fixed parameter handling for pointer objects
fixed loading of default files and use of POINTER flag on object
groups
2017-01-12 17:39:37 +11:00
Andrew Tridgell
556cda13e1 Copter: reduced copter frame build 2017-01-12 17:39:37 +11:00
Andrew Tridgell
4a4fc8ab06 Copter: adjust for change to AC_PID 2017-01-12 17:39:37 +11:00
Andrew Tridgell
0f6d0c5ba9 Copter: combined tri, single, coax and multicopter into a single build
this allows copter to be just 2 builds, one for heli, and one for
everything else
2017-01-12 17:39:37 +11:00
Andrew Tridgell
3c1517f583 Copter: added automatic SRV_Channel parameter upgrade 2017-01-12 17:39:37 +11:00
Andrew Tridgell
5a87ae3f01 Copter: use new SRV_Channels API 2017-01-12 17:39:37 +11:00
Francisco Ferreira
11b635df12
Copter: correct limit status to fence status 2017-01-12 02:00:51 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
712fbfe84b Copter: Update descriptions of stream rate parameters 2017-01-12 01:47:12 +00:00
Randy Mackay
b1e494a209 Copter: return MAV_TYPE as quadcopter by default
This allows the GCSs to know that the firmware is for a multicopter
2017-01-12 09:27:14 +09:00
Randy Mackay
20ca021cab Copter: pass distance-sensor messages to AP_Proximity 2017-01-11 21:48:23 +09:00
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