Commit Graph

4782 Commits

Author SHA1 Message Date
Randy Mackay
fa36b563bc Copter: add advanced failsafe enable to APM_Config
No functional change
2016-10-14 14:00:59 +09:00
murata
f705bd0d83 Copter: reduce intermediate storage of arming_check results 2016-10-14 11:39:18 +09:00
Jonathan Challinger
7cb9ad6e2b Copter: descend normally from 35cm 2016-10-14 10:46:11 +09:00
Jonathan Challinger
f2ef8eec8c Copter: use velocity output from AC_PrecLand 2016-10-14 10:46:08 +09:00
Randy Mackay
ccc99c772f Copter: remove union from aux_con for switch state 2016-10-14 10:31:05 +09:00
murata
b23823a934 Copter: delete unused variable from aux switch structure 2016-10-14 10:30:41 +09:00
Andrew Tridgell
ebbcabcb5f Copter: fixed comment 2016-10-14 11:40:09 +11:00
Randy Mackay
89c660eab5 Copter: add pre-arm check for proximity sensor 2016-10-13 20:21:07 +09:00
Randy Mackay
1665f4d416 Copter: report altitude and position control of new modes in sys-status message 2016-10-13 20:21:07 +09:00
Randy Mackay
4afa49eebe Copter: report proximity health in system-status 2016-10-13 20:21:07 +09:00
Randy Mackay
a07ecfe2b3 Copter: log proximity sensor at 10hz
This is current in the Copter vehicle code but we can move to the dataflash library when other vehicles start using this type of sensor.  Until then adding it to common will just increase the dependencies unnecessarily for other vehicles.
2016-10-13 20:21:07 +09:00
Randy Mackay
bba7369e9a Copter: pass AP_Proximity to AC_Avoid 2016-10-13 20:21:07 +09:00
Randy Mackay
fcc2a1b378 Copter: integrate AP_Proximity into main vehicle 2016-10-13 20:21:07 +09:00
Randy Mackay
5f749a0597 Copter: add AP_Proximity to build 2016-10-13 20:21:07 +09:00
Andrew Tridgell
652b6b7564 Copter: deprecate RC_CHANNELS_RAW 2016-10-13 21:24:02 +11:00
Randy Mackay
26c3295042 Copter: ignore first ekf core switch
The ekf core is initialised to -1 but after initialisation changes to zero.  Ignore this first change.
2016-10-13 15:20:16 +09:00
murata
f3a035694a Copter: fix ekf check to always call mode_requires_gps 2016-10-12 10:16:55 +09:00
Michael du Breuil
ea45e5e6f1 Copter: Support GPS_RTCM_DATA 2016-10-11 11:00:36 +11:00
Randy Mackay
263f685683 Copter: ekf failsafe can trigger in LAND
Thanks to John Ingersoll for the report and detailed fix
Resolves issue #4827
2016-10-10 17:36:36 +09:00
Randy Mackay
d74ae535d1 Copter: log EKF lane switch 2016-10-10 16:40:08 +09:00
Randy Mackay
35864c6226 Copter: move check_ekf_reset to ekf_check.cpp
No functional change
2016-10-10 16:40:08 +09:00
murata
f135ca5ae7 Copter: reduce repeated string constants 2016-10-10 12:17:12 +09:00
Randy Mackay
3b6e56d1a0 Copter: minor formatting fixes
No functional change
2016-10-10 12:11:14 +09:00
murata
61fa73f25d Copter: remove return after the Switch statement 2016-10-10 12:07:24 +09:00
Randy Mackay
337461c16c Copter: pre-arm check of GPS configuration 2016-10-10 10:52:54 +09:00
murata
57c61ace62 Copter: To remove a break after the return statement. 2016-10-08 13:55:18 -03:00
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