Commit Graph

4756 Commits

Author SHA1 Message Date
murata
7148cc6239 Copter: Return value is changed to Enum Value. 2016-10-05 08:25:15 -03:00
murata
60137e0f0b Copter: replace if statement with switch statement 2016-10-05 16:32:57 +09:00
Jonathan Challinger
a393bd26d7 Copter: add stick gesture to begin compass calibration 2016-10-05 16:29:02 +09:00
Lucas De Marchi
b24d850695 ArduCopter: Fix use of logical op instead of bitwise op
../../ArduCopter/GCS_Mavlink.cpp: In member function 'void Copter::send_extended_status1(mavlink_channel_t)':
../../ArduCopter/GCS_Mavlink.cpp:281:37: error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses]
     uint32_t sensors_error_flags = !control_sensors_health & control_sensors_enabled & control_sensors_present;
                                     ^
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors

Thanks to Ralph Campbell <ralphcampbell1@gmail.com> for the bug report.
2016-09-29 11:36:23 -03:00
Pierre Kancir
6f79a8c37c Arducopter: simply invalid cmd msg 2016-09-27 07:45:48 -07:00
Pierre Kancir
94e42e870e ArduCopter: uniformize verify_command
Add better gcs message,
Add all handle message,
Reformate comments,

Fix do_roi comment
2016-09-27 07:45:48 -07:00
Tom Pittenger
748beb094d Copter: log to dataflash statustext messages from my_gcs 2016-09-26 00:13:30 -07:00
Randy Mackay
7091daa1cf Copter: remove out of date comment regarding autotune
no functional change
2016-09-23 20:48:03 +09:00
Peter Barker
b81074d83a Copter: simplify auxsw duplicates check 2016-09-23 18:12:19 +09:00
floaledm
5910c94b65 Copter: change sensor health check to prevent false positive 2016-09-22 13:56:49 -05:00
John deVere
d89b82b69f Copter: fixed parameter description typos 2016-09-14 14:05:47 -07:00
Randy Mackay
9b8b45b218 Copter: 3.4-rc5 release notes 2016-09-14 13:04:39 +09:00
Randy Mackay
9b1b18b15b Copter: add sprayer to aux switch options 2016-09-13 17:34:15 +09:00
Randy Mackay
f37c17bd80 Copter: include spray in build by default 2016-09-13 15:16:13 +09:00
Randy Mackay
a8f0291711 Copter: parameter conversion only for matrix multicopters
Single, Coax and Tri copter rate parameter conversions were incorrect
2016-09-13 09:44:38 +09:00
Andrew Tridgell
d0dd10aeea Copter: added DEV_OPTIONS parameter
this is for little used options to allow standard firmware builds to
enable those options for development purposes

First option is for MAVLink based ADSB avoidance
2016-09-12 16:24:34 +10:00
Randy Mackay
f22f10460a Copter: 3.4-rc4 release notes 2016-09-06 11:18:07 +09:00
floaledm
85a3fda879 Copter: removed reliance on home_distance and home_bearing which are only in copter 2016-09-06 11:42:33 +10:00
Leonard Hall
1f2d17e8e7 Copter: increase chance that parachute will deploy
Previously a single moment where the vehicle was within 30deg of the target could cause the parachute release counter to reset to zero.  This change makes the parachute release if it is spending at least half it's time with more than a 30degree angle error.
2016-09-06 09:43:31 +09:00
Michael du Breuil
bec4bfa2ba Copter: Return RESULT_FAILED for GET_CMD_HOME if home is unset 2016-09-03 16:54:16 +09:00
Randy Mackay
4832ba4bf0 Copter: call attitude control parameter check 2016-09-02 09:27:17 +09:00
Randy Mackay
42cca17df4 Copter: update 3.4-rc3 release notes 2016-09-01 11:45:46 +09:00
Randy Mackay
f6f3718e80 Copter: 3.4-rc3 release notes 2016-08-31 15:01:23 +09:00
Randy Mackay
a8a31b1c24 Copter: fix health reporting to GCS for optical flow and precision landing
Includes slight restructuring to logic for other sensors but these should not have any functional effect
2016-08-31 13:59:16 +09:00
Randy Mackay
cba480d02b Copter: add auto calibration to ESC_CAL parameter description
No functional change
2016-08-31 11:53:53 +09:00
Randy Mackay
e17c8ac851 Copter: remove non-working reset-to-armed-yaw
Arguably we should make this work, but until that happens we should not present the option on the auxiliary switches
2016-08-29 16:34:24 +09:00
Randy Mackay
eded2dee23 Copter: TELEM_DELAY parameter range to 30sec
No functional change
2016-08-29 15:29:05 +09:00
Andrew Tridgell
d186e1c648 Copter: improve the reliability of ESC calibration with OneShot ESCs
run at higher rate and make sure we're always giving output
2016-08-29 15:52:21 +10:00
khancyr
733786830d Copter: config.h fix typo 2016-08-26 14:28:35 +09:00
khancyr
1a1c749501 Copter: fix typo in parameters.cpp 2016-08-26 14:28:35 +09:00
Andrew Tridgell
f18e0dadc9 Copter: added optional AdvancedFailsafe for copter and heli 2016-08-25 14:14:18 +10:00
Grant Morphett
28552d5cc9 Copter: Supports COMMAND_INT in the code so added it to capabilites. 2016-08-25 12:56:32 +10:00
Andrew Tridgell
ea7e62df17 Copter: use a constant string for frsky_telemetry init 2016-08-25 11:00:31 +10:00
floaledm
893614897e Copter: moved MAV_TYPE to Copter.h 2016-08-25 10:16:20 +10:00
Andrew Tridgell
96de005591 Copter: moved MAV_TYPE define to defines.h 2016-08-25 10:16:20 +10:00
Andrew Tridgell
a14ff8ac77 Copter: fixes for Frsky_Telem API changes 2016-08-25 10:16:20 +10:00
Andrew Tridgell
0bcc9c4cb0 Copter: fix for AP_FrSky_Telem API change 2016-08-25 10:16:19 +10:00
floaledm
baa3357b21 Copter: changed init for SPort passthrough protocol compatibility 2016-08-25 10:16:18 +10:00
floaledm
157db51b9d Copter: make control_sensor vars available outside of send_extended_status1 2016-08-25 10:16:18 +10:00
floaledm
c0bd21d9f2 Copter: compatibility with revised AP_Frsky_Telem class 2016-08-25 10:16:18 +10:00
floaledm
f73fa1fc80 Copter: removed frsky_telemetry_send scheduled task 2016-08-25 10:16:17 +10:00
murata
97613ef961 Copter: By multiple bit synthetic, can this method once access. 2016-08-24 11:30:23 -03:00
Gustavo Jose de Sousa
b8e518a533 waf: use ap_library tool
That way we avoid recompiling source files that don't depend on vehicles.
Change notes:
- UTILITY_SOURCE_EXTS: moved to ap_library
- Task generators indexes: ap_library handles that now and in a better way
- Use of AP_STLIB_FEATURES: it doesn't make sense anymore, since the stlib
  taskgen has empty source list
- Flags and defines: passed down to ap_library through AP_LIBRARIES_OBJECTS_KW
- Set use='mavlink' in AP_LIBRARIES_OBJECTS_KW instead of calls to
  bld.ap_stlib().
2016-08-24 10:46:23 -03:00
Tom Pittenger
e9d34c07d2 Copter: reduce scheduler max-time for avoid-adsb from 400 to 100 2016-08-17 22:38:54 -07:00
Tom Pittenger
5c1d49b985 Copter: add new avoidance recovery modes 2016-08-17 22:38:54 -07:00
Tom Pittenger
a1bf791529 Copter: do not report collision warning when action is COLLISION_ACTION_NONE: 2016-08-17 22:38:54 -07:00
Tom Pittenger
06b64000e1 Copter: move mavlink msg handling into library 2016-08-16 16:33:36 -07:00
Tom Pittenger
d04a5d58fd Copter: decode correct ADSB packet 2016-08-16 16:33:36 -07:00
Peter Barker
f67d247a46 Copter: factor pre-arm checks, continue testing after a failure
The functional change here is that we continue to run later checks
when a check fails.

The user-visible effect of that is that your GCS will tell you about
all pre-arm failures, not just the first.

This makes things work a little more like Plane, in preparation for
using AP_Arming.
2016-08-16 11:37:18 -03:00
murata
ec4c17e630 Copter: Delete a comparison that does not become a true forever. 2016-08-16 21:04:25 +09:00