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
Peter Barker
a7acc92663
RC_Channel: move rc-channel option for lost-vehicle sound up to base class
7 years ago
Peter Barker
c54c2a2930
RC_Channel: fix and tidy example
7 years ago
Michael du Breuil
80597d5cba
RC_Channel: Fix accidental quantization of override_timeout to 1 second
7 years ago
Peter Barker
f2b8c9e501
RC_Channel: improve debug when failing to initialise RC channel
7 years ago
Peter Barker
e4d3ed7e39
RC_Channel: move handling of sprayer and gripper in from Copter
7 years ago
Michael du Breuil
e7ebea55d2
RC_Channel: Fix possible user induced out of bounds write
...
CID 308348
7 years ago
Peter Barker
e4ff937c96
RC_Channel: remove min-max-configured pre-arm checks
...
These are really, really expensive to run while your RC isn't
configured.
We now have a split between inputs (RC) and servos (SRV), so these
aren't as critical as they were. We also have range checks to ensure
they're roughly good enough to fly with.
7 years ago
Peter Barker
87e7cc7ef0
RC_Channels: zero all channels before populating
...
Fix for CID 308365
7 years ago
Peter Barker
f2b1387c1c
RC_Channel: add AUTOTUNE to init_aux_function routine
...
Also, cark it in SITL if we fail to initialise an aux function
7 years ago
Peter Barker
ff36eb3aca
RC_Channel: remove old members objects
7 years ago
Peter Barker
5df70cf93a
RC_Channel: update examples for new rc() method
7 years ago
Peter Barker
0f084ed5bf
RC_Channel: add compatability static functions
...
Just to avoid churn in Sub, Plane and Tracker
7 years ago
Peter Barker
747fc3814d
RC_Channel: rename in_rc_failsafe to has_valid_input
7 years ago
Peter Barker
61c34ea98c
RC_Channel: move handling of auxillary switches into RC_Channel
...
RC_Channel: move handling of Rover's functions into RC_Channel
RC_Channel: move auxsw handling for camera to base RC_Channel
RC_Channel: add responsibility for servorelay events
RC_Channel: move mode switch handling to base class
7 years ago
Michael du Breuil
60f19bbf02
RC_Channel: Allow an input to be ignored
7 years ago
Michael du Breuil
16b6201195
RC_Channel: Allow a RC_OVERRIDE_TIMEOUT of -1 to use the overrides
...
forever
7 years ago
Michael du Breuil
95eda5d9b7
RC_Channel: Remove unneeded interfaces
7 years ago
Michael du Breuil
0fcf07fde7
RC_Channel: Remove input() method from individual channels
7 years ago