Peter Barker
10d7cc6bf4
RC_Channel: add Plane support for channel options
2018-09-05 13:47:19 +10:00
Peter Barker
901664ce09
Plane: add support for RCn_OPTION (servorelay,camera)
...
Closes #7071
Closes #7666
2018-09-05 13:44:07 +10:00
Peter Barker
450052aa80
Copter: rewrite read_radio for clarity
2018-09-05 11:54:32 +10:00
Peter Barker
a30cdf6806
Copter: eliminate failsafe.rc_override_active
...
Use RC_Channels::has_active_overrides() instead
2018-09-05 11:54:32 +10:00
Peter Barker
9650846497
RC_Channel: treat UINT16_MAX as a value of 0 in set_override
...
This shouldn't really in in RC_Channels - when we move the mavlink
packet handling up to the GCS_MAVLink base class we should move this
into there.
2018-09-05 11:54:32 +10:00
Peter Barker
1c527df084
RC_Channel: note that Rover now has disable-gcs-overrides channel option
2018-09-05 11:54:32 +10:00
Peter Barker
197edca772
Tools: expand test to cover use of disable-gcs-rc-overrides switch
2018-09-05 11:54:32 +10:00
Peter Barker
047689981b
RC_Channel: honour gcs_overrides_enabled as part of set_override
...
This will stop situations like we currently have where the
MANUAL_CONTROL GCS mavlink packets can still affect the vehicle
Also resolves an issue where has_new_overrides may not be set
appropriately
2018-09-05 11:54:32 +10:00
Peter Barker
ec6c59faa3
Copter: move handling of disable-gcs-rc-overrides-channel-option up
2018-09-05 11:54:32 +10:00
Peter Barker
7bdd9b1aea
RC_Channel: move handling of disable-gcs-rc-overrides-channel-option
2018-09-05 11:54:32 +10:00
Adam Watkins
2fe3535fd8
Docker: add Dockerfile for Docker container support
2018-09-05 11:29:33 +10:00
Peter Barker
a9621191d8
Tools: autotest: correct descent throttle in copter fence test
...
1500 is sufficient that we may not descend.
2018-09-05 10:42:33 +10:00
Andrew Tridgell
b4ecc347d7
AP_HAL: always define HAL_WITH_UAVCAN on px4
2018-09-05 08:52:47 +10:00
Randy Mackay
96097586c3
AR_AttitudeControl: reset I if speed controller not called recently
2018-09-04 15:00:41 +09:00
Andrew Tridgell
135e37e1f4
AP_IOMCU: cope with IOMCU reset in flight
...
this copes with IOMCU reset when we have safety forced off
2018-09-04 15:24:12 +10:00
Michael du Breuil
925d76bb8c
Plane: Small cleanup to quadplane const (and clarity)
2018-09-04 15:11:41 +10:00
Leonard Hall
e11c7c6069
QuadPlane: remove true from init of loiter
2018-09-04 13:37:28 +09:00
Leonard Hall
8faa1cce39
Copter: loiter glitch fix
2018-09-04 13:37:28 +09:00
Leonard Hall
31d93f5914
AC_Loiter: reduce twitch on init
2018-09-04 13:37:28 +09:00
Leonard Hall
5863b84c35
AC_PosControl: reduce glitch on init
2018-09-04 13:37:28 +09:00
Leonard Hall
4ceabe4838
AC_PID_2D: add reset for filter and D term
2018-09-04 13:37:28 +09:00
Peter Barker
71bff63bff
AP_Mission: remove erroneous comment about clear()
2018-09-04 10:32:26 +10:00
Peter Barker
f1a0ebfd10
Tools: autotest: reduce verbosity of wait-for-heading
2018-09-04 10:32:26 +10:00
Peter Barker
5c7e21d38f
Tools: autotest: add test for clearing waypoints
2018-09-04 10:32:26 +10:00
Peter Barker
3c8738b4d8
RC_Channel: add clear-waypoints option
2018-09-04 10:32:26 +10:00
Peter Barker
16b49399db
AP_Mission: add singleton
2018-09-04 10:32:26 +10:00
Michael du Breuil
f6cb196d53
AP_HAL_ChibiOS: Remove unimplemented force_safety_no_wait()
...
ChibiOS doesn't implement the method, so there is nothing to be gained
by calling the function.
2018-09-04 10:23:18 +10:00
Peter Barker
35330e8caa
Tools: ardupilotwaf: add -Werror=unused-result for all boards
2018-09-04 09:22:18 +10:00
Peter Barker
d6fe9d47e0
AP_HAL_SITL: check return value from posix_memalign
...
Avoids return-value-must-be-checked compiler warning
2018-09-04 09:22:18 +10:00
Michael du Breuil
f06b27e4a3
AP_Declination: Fixes ups for pyigrf
2018-09-04 09:02:25 +10:00
scivision
67a503d5d8
AP_Declination: 2to3, IGRF API update
...
use built-in IGRF total, incl, decl computations
2018-09-04 09:02:25 +10:00
Andrew Tridgell
ebcdf4c9c6
AP_Notify: fixed oled probe on first bus
...
Thanks to Erwin Quilloy for helping to track this down
2018-09-03 18:15:05 +01:00
Peter Barker
0be5e65b4a
Copter: correct compilation for missing define
...
Bad interaction between two PRs that were merged.
2018-09-03 19:47:15 +09:00
Peter Barker
c902260925
Tools: remove extra running of unit tests from build_ci.sh
2018-09-03 09:57:38 +01:00
Peter Barker
0f4c68aadb
Copter: move rc-channel option for lost-vehicle sound up to base class
2018-09-03 16:57:25 +09:00
Peter Barker
a7acc92663
RC_Channel: move rc-channel option for lost-vehicle sound up to base class
2018-09-03 16:57:25 +09:00
Pierre Kancir
e7c000875e
Copter: complet rc option init list
2018-09-03 16:55:43 +09:00
liang.tang
f4a8006333
AP_Airspeed: fix spd3x correct pressure issue
2018-09-02 16:38:51 -07:00
Peter Barker
774b091611
AC_PID: get example working again
2018-08-31 21:08:11 +09:00
Peter Barker
c54c2a2930
RC_Channel: fix and tidy example
2018-08-31 21:08:11 +09:00
Peter Barker
15ae453205
AP_HAL: fix RCInput example
2018-08-31 21:08:11 +09:00
Peter Barker
95f7b1aeb7
Tools: add dummy AP::camera method to avoid linking camera
2018-08-31 15:48:56 +10:00
Peter Barker
753be1142f
Sub: use camera singleton to get camera rather than callback
2018-08-31 15:48:56 +10:00
Peter Barker
1aa75e4c3e
Plane: use camera singleton to get camera rather than callback
2018-08-31 15:48:56 +10:00
Peter Barker
f005ee4a4c
Copter: use camera singleton to get camera rather than callback
2018-08-31 15:48:56 +10:00
Peter Barker
3146fcd80a
Tracker: use camera singleton to get camera rather than callback
2018-08-31 15:48:56 +10:00
Peter Barker
7c60c85a12
Rover: use camera singleton to get camera rather than callback
2018-08-31 15:48:56 +10:00
Peter Barker
26e7abe6c4
GCS_MAVLink: use camera singleton to get camera rather than callback
2018-08-31 15:48:56 +10:00
Peter Barker
e4c0ef789b
Sub: GCS_MAVLink uses compass singleton, stop implementing get_compass
2018-08-31 15:48:56 +10:00
Peter Barker
558158c62a
Plane: GCS_MAVLink uses compass singleton, stop implementing get_compass
2018-08-31 15:48:56 +10:00