Andy Piper
3cba76123b
RC_Channel: add support for RunCam camera control
...
make read_3pos_switch and enum public
5 years ago
Andrew Tridgell
dfd7b022fd
RC_Channel: added get_pwm() function for Lua
5 years ago
Andrew Tridgell
6ff303adf4
RC_Channel: added comment on odd inheritance
5 years ago
Peter Barker
e12a841eb5
RC_Channel: move support for ADSB avoidance switch enable up
5 years ago
Peter Barker
3bec1c7d4f
RC_Channel: correct description of standby option
...
Also canonicalise on STANDBY rather than STANDBY
5 years ago
Henry Wurzburg
119f0a95ad
RC_Channel: added RC option for new takeoff mode
5 years ago
Leonard Hall
05f1161e63
RC_Channel: Support for Standby functions
5 years ago
Randy Mackay
6be4adbe02
RC_Channels: define surface tracking auxiliary function
5 years ago
Peter Hall
2f3c0447eb
RC_Channel: add fence and value for rover
6 years ago
Peter Hall
fdb6da0793
RC_Channel: define sailboat mainsail and motor input channels
...
The unusual use of 207 is in preparation for Peter Barker's RCMAP replacement PR which uses 200 to 206
6 years ago
SergeyBokhantsev
c73a4fd227
RC_Channel: unify debounce code
6 years ago
Peter Barker
aab787b08b
RC_Channel: move mission reset in from Copter
6 years ago
Andrew Tridgell
30d27147a8
RC_Channel: added RC switch for killing IMUs
6 years ago
Andrew Tridgell
19ace7cace
RC_Channel: guarantee logging of RCIN on switch changes
6 years ago
Tom Pittenger
fbe43dba5c
RC_Channel: refactor stick_mixing to library
6 years ago
Arjun Vinod
54302d4943
RC_Channel: added left out copter flight modes as auxiliary switch options
6 years ago
Andrew Tridgell
4b0339d940
RC_Channel: fixed crash in RC_ProtocolTest example test
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
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
Pierre Kancir
c81ddd85b6
RC_Channel: fix receiver typos
6 years ago
Randy Mackay
413bceda9d
RC_Channel: minor format fix
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
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
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
e4d3ed7e39
RC_Channel: move handling of sprayer and gripper in from Copter
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
ff36eb3aca
RC_Channel: remove old members objects
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