Commit Graph

4811 Commits

Author SHA1 Message Date
Peter Barker d2b7749af3 Copter: AP_Stats flighttime 2016-10-29 14:53:25 +09:00
Peter Barker 1bb6350a67 Copter: periodically call stats update 2016-10-29 14:53:25 +09:00
Peter Barker df07cb525a Copter: use AP_Stats to store statistics about vehicle 2016-10-29 14:53:25 +09:00
Randy Mackay be15fe4100 Copter: version to 3.5-dev 2016-10-29 14:33:44 +09:00
murata 965a6a5719 Copter: To nullptr from NULL. 2016-10-28 10:53:31 -07:00
Andrew Tridgell 1b46a71596 Copter: also update sensor status before mavlink send
this removes the 1 second lag in updates when using the one second
loop
2016-10-28 10:05:40 +11:00
floaledm 34718b130a Copter: update sensor status error flags independently of sending a sys_status message
Without this, there is no update to the sensor status flags in the Frsky
lib unless there's an active Mavlink connection configured to send
extended_status1
2016-10-28 10:03:38 +11:00
Andrew Tridgell e8b9c815fc Copter: updates for EKF API changes 2016-10-27 17:09:06 +11:00
priseborough 209e364190 Copter: Add body position offset to optical flow interface 2016-10-27 14:54:42 +11:00
Michael du Breuil 790ddeb04e Copter: Use the compass calibrator autoreboot behaviour
(fixes a chance of not saving the second compass)
2016-10-27 14:04:33 +11:00
Leonard Hall 0523570c5f Copter: reduce dead zone for roll, pitch and yaw input 2016-10-26 21:00:32 +09:00
Leonard Hall 53486a5725 Copter: increase Autotune test time out for large copters 2016-10-26 21:00:23 +09:00
Leonard Hall 0a6714f4ae Copter: rename variable ROLL_PITCH_YAW_INPUT_MAX
No functional change
2016-10-26 20:59:43 +09:00
Leonard Hall 2698f14d39 Copter: apply yaw expo to all modes 2016-10-26 20:59:33 +09:00
Randy Mackay bc0965bb08 Copter: 3.4-rc7 release notes 2016-10-25 19:34:58 +09:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Francisco Ferreira 1e2e24eeac Copter: fix wrong range in Throw mode
Fixes #5038
2016-10-23 11:56:57 +09:00
Randy Mackay 1f160f2903 Copter: minor comment update
No functional change
2016-10-22 13:31:16 +09:00
Andrew Tridgell 9205416695 Copter: setup default safety mask based on motor mask 2016-10-21 11:53:59 +11:00
Randy Mackay 83b8208b8b Copter: fix PRX_ parameters duplicate underscore in param name 2016-10-19 17:24:43 +09:00
Andrew Tridgell c01a7718c1 Copter: fixed startup order of setting mavlink system ID 2016-10-17 09:19:08 +11:00
Andrew Tridgell 57830784e2 Copter: use handle_rc_bind 2016-10-15 21:42:38 +11:00
Andrew Tridgell 5a9276a5c4 Copter: added SYSID_ENFORCE parameter
allows enforcement of SYSID_MYGCS
2016-10-15 17:14:19 +11:00
Randy Mackay cb977bca6f Copter: 3.4-rc6 release notes 2016-10-15 12:27:04 +09:00
Randy Mackay 5894a54a16 Copter: althold uses current alt target if active
Previously we always reset the altitude target to the current altitude but this causes a jump if the vehicle is already in an alt-hold flight mode but has an altitude error
2016-10-15 11:29:10 +09:00
Leonard Hall fec24437f2 Copter: load accel throttle I term from attitude controller input
Previously we loaded up the I term from the pilot's input but a more reliable method is to get what was passed into the attitude controller.  In particular the addition of the acro-thr-mid parameter means the pilot's input must be interpreted differently for different flight modes.
2016-10-15 11:27:53 +09:00
Randy Mackay a124001b8b Copter: get_pilot_desired_throttle gets thr_mid argument default 2016-10-15 11:27:53 +09:00
Leonard Hall 5c47f3f9e5 Copter: add acro throttle and yaw expo and smoother manual pilot throttle 2016-10-15 11:27:53 +09:00
Randy Mackay 0aab175051 Copter: move proximity to g2 2016-10-14 14:02:29 +09:00
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