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
Randy Mackay
aa05325b54
Copter: add althold as ekf failsafe action
2015-06-10 12:06:08 +09:00
Randy Mackay
4408f01f39
Copter: rename ekf_check_thresh to fs_ekf_thresh
2015-06-10 12:06:06 +09:00
Peter Barker
125042e1db
Replay: use GetOptLong for command line parsing
2015-06-10 10:14:15 +10:00
Andrew Tridgell
979a571d68
AP_HAL: fixed example build
2015-06-10 09:27:41 +10:00
Peter Barker
f4db241bf6
Replay: avoid dataflash buffer filling up on many pass-through messages
2015-06-09 21:52:46 +10:00
Peter Barker
5fb46b0e11
Replay: fix dataflash overflow on timestamp-poor (older) logfiles
2015-06-09 21:52:45 +10:00
Andrew Tridgell
267455ec26
PX4Firmware: updated submodule
2015-06-09 20:59:26 +10:00
Andrew Tridgell
d5e947acd5
PX4Firmware: updated submodule
2015-06-09 20:04:21 +10:00
Andrew Tridgell
81a1c4bd8a
PX4NuttX: updated submodule
2015-06-09 20:04:08 +10:00
Andrew Tridgell
d6af9fd0ee
HAL_PX4: prevent uavcan motor spin up while booting
2015-06-09 19:45:01 +10:00
Andrew Tridgell
6a33aeef67
HAL_PX4: cope with multi-instance actuator_outputs uORB
...
we need to subscribe to all of them
2015-06-09 19:45:00 +10:00
Andrew Tridgell
a3334e0602
PX4: updates for upstream merge
2015-06-09 19:45:00 +10:00
Andrew Tridgell
2167675b3d
AP_RangeFinder: update for upstream merge
2015-06-09 19:44:20 +10:00
Andrew Tridgell
23d291f144
AP_Notify: update for upstream merge
2015-06-09 19:44:20 +10:00
Andrew Tridgell
333778bac1
HAL_PX4: updates for upstream merge
2015-06-09 19:44:20 +10:00
Andrew Tridgell
57cef63b94
autotest: enable submodule build for binaries
2015-06-09 16:57:30 +10:00
Andrew Tridgell
28ffd9d4ed
travis: setup for git submodules
2015-06-09 16:51:55 +10:00
Andrew Tridgell
9698cae971
PX4: fixed copy of template build for PX4
2015-06-09 15:36:55 +10:00
Andrew Tridgell
4036a2e19b
px4: show warning if old PX4 subdirectories exist
2015-06-09 14:07:44 +10:00
Andrew Tridgell
01a330e3c5
PX4Firmware: update submodule
2015-06-09 14:07:30 +10:00
Andrew Tridgell
3ec1a0ca84
modules: show wiki URL on all submodule errors
2015-06-09 13:51:15 +10:00
Andrew Tridgell
0e6f6c49c6
build: fixed subdirectory for NUTTX_SRC
2015-06-09 13:36:02 +10:00
Andrew Tridgell
9440bdceaf
PX4Firmware: update submodule
2015-06-09 13:28:28 +10:00
Andrew Tridgell
f54d1bba0a
PX4Firmware: removed .gitmodules
2015-06-09 13:28:27 +10:00
Andrew Tridgell
3b886cd966
modules: show an error if config.mk specifies PX4 paths
2015-06-09 13:28:27 +10:00
Andrew Tridgell
a6d34c208d
modules: throw an error message on submodule init
2015-06-09 13:28:27 +10:00
Andrew Tridgell
cf21cc8132
build: removed check for existance of PX4 subdirs
...
this prevents modules from initialising
2015-06-09 13:28:26 +10:00
Andrew Tridgell
fc3b75710f
modules: check also for modules/.git
2015-06-09 13:28:26 +10:00
Andrew Tridgell
02aa6983a7
APM_Control: fixed FF handling in steering controller
2015-06-09 13:28:26 +10:00