Commit Graph

17192 Commits

Author SHA1 Message Date
Peter Barker f996bf4307 Replay: move LR_MsgHandlers into their own files 2015-06-14 17:17:42 +10:00
Peter Barker 7eb588e9ff Replay: use a subclasss of DataFlashFileReader to determine log rate 2015-06-14 16:47:52 +10:00
Peter Barker d41b21cd19 Replay: split off a base class for reading dataflash logs 2015-06-14 16:47:52 +10:00
Peter Barker 0b5e645075 Replay: grab reference to timestamp rather than timestamp
PARM messages would not have been updating the clock correctly
Also, random stack corruption...
2015-06-14 16:34:01 +10:00
Randy Mackay f93a259b04 Copter: add comment to Solo section in Parameters.h 2015-06-14 14:47:02 +09:00
Jonathan Challinger fd37a48f8e Copter: clean up Parameters.h comments a bit 2015-06-14 14:44:15 +09:00
Jonathan Challinger 035c0b567e Copter: reserve param indices that exist in Solo repo 2015-06-14 14:44:13 +09:00
Randy Mackay 69e59b2d99 GCS_MAVLink: update version after adding LANDING_TARGET 2015-06-12 21:37:09 +09:00
Randy Mackay 835a203566 GCS_MAVLink: generate after adding LANDING_TARGET 2015-06-12 21:37:07 +09:00
Randy Mackay 94aec19336 GCS_MAVLink: import LANDING_TARGET from upstream 2015-06-12 21:37:04 +09:00
Randy Mackay 76fdfdfcf2 GCS_MAVLink: do not send_vibration on APM2 2015-06-12 21:37:01 +09:00
Randy Mackay 0d239d2746 DataFlash: disable vibration logging on APM2
Also remove unnecessary include
2015-06-12 21:36:59 +09:00
Randy Mackay 8ceccd778d InertialSensor: disable vibration checks on APM2
Also bug fix get_accel_clip_count's instance check
2015-06-12 21:36:56 +09:00
Randy Mackay fe1da458a7 Rover: avoid compiler warning re to new VIBRATION msg 2015-06-12 21:36:53 +09:00
Randy Mackay 0b9929bb04 Tracker: avoid compiler warning re to new VIBRATION msg 2015-06-12 21:36:51 +09:00
Randy Mackay 814cb5ce18 Plane: add vibration DF logging and send to GCS 2015-06-12 21:36:47 +09:00
Randy Mackay 40ed2f7f53 Copter: send vibration in STREAM_EXTRA3 2015-06-12 21:36:45 +09:00
Randy Mackay 642aa74530 GCS_MAVLink: add send_vibration 2015-06-12 21:36:42 +09:00
Randy Mackay 581e43bd0e GCS_MAVLink: update version after adding VIBRATION msg 2015-06-12 21:36:39 +09:00
Randy Mackay afbb670e73 GCS_MAVLink: generate after adding VIBRATION message 2015-06-12 21:36:36 +09:00
Randy Mackay e677a100c6 GCS_MAVLink: add VIBRATION message to common.xml 2015-06-12 21:36:34 +09:00
Randy Mackay 9e08775cbf Copter: log vibration at 10hz 2015-06-12 21:36:31 +09:00
Randy Mackay f0f262eb04 DataFlash: add Log_Write_Vibration 2015-06-12 21:36:28 +09:00
Randy Mackay 1289208244 LowPassFilter: add get method 2015-06-12 21:36:24 +09:00
Randy Mackay 0db7acc628 InertialSensor: calc vibration and accel clipping 2015-06-12 21:36:22 +09:00
Andrew Tridgell c9e04cb98d PX4: fixed build with uavcan as submodule 2015-06-12 18:24:25 +10:00
Andrew Tridgell d45f6e8f1d PX4: fixed startup tone
'start' doesn't work any more
2015-06-12 17:55:29 +10:00
Andrew Tridgell 3427224bfc Plane: fixed logging of parameters on arming 2015-06-12 13:11:06 +10:00
Andrew Tridgell 290805b879 Copter: fixed logging of parameters on arming
ensure parameters are logged when we have no logging before arming
2015-06-12 13:10:54 +10:00
Tom Pittenger 3544549cf4 AP_GPS: Allow switching primary GPS instance with 1 sat difference
Rapid switching between GPS receivers can cause real problems.
Switch if:
1) secondary GPS has 1 more satellite for at least 20 seconds
OR
2) secondary GPS has 2 more satellites for at least 5 seconds

Fixes https://github.com/diydrones/ardupilot/pull/2320
2015-06-11 21:33:06 +10:00
Randy Mackay 58505d8242 Copter: autotune relaxes alt controller when landed 2015-06-11 20:21:06 +09:00
Randy Mackay 1bd6728e21 Copter: add All+FullIMU to LOG_BITMASK param description 2015-06-11 20:21:01 +09:00
Staroselskii Georgii c0dceb667d Travis: reduced number of threads used for a build 2015-06-11 16:27:51 +10:00
Andrew Tridgell dea36c1ae9 HAL_PX4: fixed build on non-PX4 systems 2015-06-11 15:17:02 +10:00
Andrew Tridgell 9b273e6254 PX4Firmware: updated submodule 2015-06-11 13:31:52 +10:00
Andrew Tridgell 88655b48e1 HAL_PX4: added px4_param stub functions
this replaces the PX4 parameter system with stub functions that fail
all parameter find calls
2015-06-11 13:31:41 +10:00
Andrew Tridgell bbdb4e41bb px4: added ARDUPILOT_BUILD=1 to PX4 build
this allows us to not include some source files in PX4Firmware modules
2015-06-11 13:27:43 +10:00
Randy Mackay 0b6323d5ed Mount: default MNT_TYPE to servo gimbal if rc outputs defined 2015-06-10 16:47:08 +09:00
Randy Mackay 28fc981d29 Copter: refresh rc servo function on startup 2015-06-10 16:47:07 +09:00
Randy Mackay 03a336d496 RC_Channel: update_aux_servo_function made public 2015-06-10 16:47:06 +09:00
Eugene Shamaev 5b34fa4f6a Plane: added DSM bind support 2015-06-10 17:19:10 +10:00
Eugene Shamaev a3ddc49a70 Copter: added DSM bind support 2015-06-10 17:19:10 +10:00
Eugene Shamaev 3ecead9d3c Rover: added DSM bind support 2015-06-10 17:19:09 +10:00
Eugene Shamaev 40a5aa497a HAL_PX4: added rc_bind for DSM bind 2015-06-10 17:19:09 +10:00
Eugene Shamaev 8cb367eaf8 AP_HAL: added rc_bind rcin method 2015-06-10 17:19:08 +10:00
Lucas De Marchi b3da1579c1 AP_Notify: rename member to initialized
We are not only checking if there was an error, but if it was already
initialized.  Let's make it explicit by inverting the value we store.
2015-06-10 16:39:01 +10:00
Lucas De Marchi 3f8dab41c4 AP_Notify: fix wrong boolean check
Check by false instead of checking by -1. Fix the following compiler warning
with gcc 5.1.0:

ardupilot/libraries/AP_Notify/ToneAlarm_Linux.cpp:64:13: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare]
     if (err == -1) {
             ^

Also change the initialization code not to use -1.
2015-06-10 16:39:01 +10:00
hamishwillee bb534c20b5 Fixes build issues with the vagrantfile now we use Git submodules 2015-06-10 15:30:29 +10:00
Randy Mackay ce1031a5bd Copter: remove AP_AHRS_NAVEKF_AVAILABLE checks
Copter requires an EKF
2015-06-10 12:18:38 +09:00
Randy Mackay e3183babde Copter: remove unused GPS failsafe definitions 2015-06-10 12:06:10 +09:00