Tom Pittenger
fc710d8a81
RC_Channel: remove UINT16_MAX check, moved to mavlink handler
6 years ago
Tom Pittenger
fbe43dba5c
RC_Channel: refactor stick_mixing to library
6 years ago
Peter Barker
6157aae747
RC_Channel: correct examples with override keyword
6 years ago
Randy Mackay
c2318503db
RC_Channel: fix-up OPTION param docs
6 years ago
Arjun Vinod
66bdabfa26
RC_Channel: updated the parameter docs
6 years ago
Arjun Vinod
54302d4943
RC_Channel: added left out copter flight modes as auxiliary switch options
6 years ago
Arjun Vinod
77a7c1bdf7
RC_Channel: fixed typo
6 years ago
Andrew Tridgell
4b0339d940
RC_Channel: fixed crash in RC_ProtocolTest example test
6 years ago
Michael du Breuil
125f9bd806
RC: Fix includes
6 years ago
Tom Pittenger
dce484685b
RC_Channel: fix compiler warning. %u should be cast as unsigned
6 years ago
Patrick José Pereira
3a0ac4bb09
RC_Channel: Move aux_func to class enum
...
aux_func declaration shadows enums of mavlink ardupilotmega
RC_Channel declares `PARACHUTE_ENABLE = 21`
ardupilotmega defines it as `PARACHUTE_ENABLE=1`
This fix a compilation error with clang-8
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Peter Barker
e869eaeda4
RC_Channel: make has_new_overrides non-static
6 years ago
Peter Barker
2331232bdd
RC_Channel: remove static override_timeout
6 years ago
Peter Barker
bc2ede5582
RC_Channel: tidy RC option flag handling
6 years ago
Peter Barker
8808991638
RC_Channel: remove unused enumeration
6 years ago
Tom Pittenger
961085fbd1
RC_Channel: rename dataflash to logger
6 years ago
Andrew Tridgell
59082a0833
RC_Channel: added RC_OPTIONS flag for failsafe ignore
...
this is useful for SBUS with a receiver setup for HOLD on failsafe to
not trigger a RC failsafe
6 years ago
IamPete1
8f9f572489
RC_Channel: add global E-stop function
6 years ago
Peter Barker
c235b1ccc2
RC_Channel: correct comment
6 years ago
Tom Pittenger
ece8580c1d
RC_Channel: unify singleton naming to _singleton and get_singleton()
6 years ago
Peter Barker
e7e51d6f49
RC_Channel: indicate gripper available on an RC Channel
6 years ago
Pierre Kancir
c81ddd85b6
RC_Channel: fix receiver typos
6 years ago
Randy Mackay
413bceda9d
RC_Channel: minor format fix
6 years ago
Peter Barker
a800395742
RC_Channel: remove use of never-set AP_HAL_PX4 and AP_HAL_VRBRAIN
6 years ago
ChrisBird
fad02bf55a
AP_Relay: Adding a 5th and 6th Relay as per issue #8979
6 years ago
Peter Barker
87aeaf7315
RC_Channel: adjust type for auxillary switch position
6 years ago
Peter Barker
bb0a4f3c78
RC_Channel: avoid using out-of-range aux switch values
...
We already use these ranges for the mode switch
6 years ago
Randy Mackay
aa7c9ec89e
RC_Channel: minor format fixes
6 years ago
Andrew Tridgell
ee78374513
RC_Channel: added GPS_DISABLE option on a switch
6 years ago
Peter Barker
c9714ae962
RC_Channel: read_aux_all is no longer overrridden by any class
6 years ago
Andrew Tridgell
285935f8b3
RC_Channel: added reverse throttle RC option
...
used in plane for reverse on a switch
6 years ago
Andrew Tridgell
7fad72dacf
RC_Channel: moved LANDING_GEAR to common library
6 years ago
Andrew Tridgell
eac7c28005
RC_Channel: allow landing gear control for plane
6 years ago
IamPete1
e42c3c6fab
RC_Channel: add Sailboat Tack to aux switch
6 years ago
Randy Mackay
2c29f0d45a
RC_Channel: handle AC_Avoid enable and disable
...
Also change Copter's option from Object Avoidance to Proximity Avoidance
due to impending AP_Avoidance stuff
RC_Channel: update aux switch param docs to add object avoidance
6 years ago
Randy Mackay
e6b8607baf
RC_Channel: formatting and comment fix
6 years ago
Andrew Tridgell
5fe9334a18
RC_Channel: allow compass learning to be triggered on option
...
this allows for RCn_OPTION=62 to trigger compass learning, so you can
enable in-flight without using the GCS
6 years ago
Peter Barker
c7d052eec8
RC_Channel: add const keyword to many methods
6 years ago
Peter Barker
ea426a3d45
RC_Channel: fix erroneous comment on RC relay options
6 years ago
CAO MUQING
09030b1b13
RC_Channel: add aux switch options for ZigZag mode and ZigZag SaveWP
6 years ago
Ammarf
2beb3a278a
RC_Channel: add simple mode to aux functions
7 years ago
Michael du Breuil
20c56f3e06
RC_Channel: Add an accessor for a channels range and type
7 years ago
Peter Barker
0cf12ad47e
RC_Channel: add aux option to fly inverted for Plane
7 years ago
Peter Barker
bd5cdf9e64
RC_Channel: update aux options for planes to include arm/disarm
7 years ago
Peter Barker
10d7cc6bf4
RC_Channel: add Plane support for channel options
7 years ago
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.
7 years ago
Peter Barker
1c527df084
RC_Channel: note that Rover now has disable-gcs-overrides channel option
7 years ago
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
7 years ago
Peter Barker
7bdd9b1aea
RC_Channel: move handling of disable-gcs-rc-overrides-channel-option
7 years ago
Peter Barker
3c8738b4d8
RC_Channel: add clear-waypoints option
7 years ago