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
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
95eda5d9b7
RC_Channel: Remove unneeded interfaces
7 years ago
Michael du Breuil
0fcf07fde7
RC_Channel: Remove input() method from individual channels
7 years ago
Michael du Breuil
4253c7f74d
RC_Channel: Move overrides out of the HAL
7 years ago
Michael du Breuil
c8a93f9b76
RC_Channel: Remove set_overrides() method
7 years ago
Michael du Breuil
30554d0de0
RC_Channels: Collapse has_new_input() with set_pwm_all()
7 years ago
Michael du Breuil
c8fdb90ab5
RC_Channel: Rework set_pwm_no_deadzone() to a recompute function
7 years ago
Michael du Breuil
a6afc69c13
RC_Channel: Support most hal.rcin functions in RC_Channels
7 years ago
Andrew Tridgell
ac4017e2ae
RC_Channel: added set_and_save_radio_trim()
...
# Conflicts:
# libraries/RC_Channel/RC_Channel.h
7 years ago
Andrew Tridgell
e5813effff
RC_Channel: improved efficiency of min_max_configured
...
this is quite a costly function due to scan in AP_Param. It takes
about 4 to 5 milliseconds when done as part of AP_Arming
7 years ago
Andrew Tridgell
64f722876f
RC_Channel: use set_and_save_ifchanged
8 years ago
Andrew Tridgell
b50ab75f4c
RC_Channel: added set_and_save_trim()
8 years ago
Peter Barker
d2b2ddcb02
RC_Channel: make min_max_configured const
8 years ago
Andrew Tridgell
77a7e7ca01
RC_Channel: give access to internals to SRV_Channel
...
needed for parameter upgrade
8 years ago
Andrew Tridgell
b6aa4205b4
RC_Channel: cleanup API and comments a bit
8 years ago
Andrew Tridgell
64aa13e7f4
RC_Channel: 2nd stage of SRV_Channels conversion
...
allow for 16 output channel objects
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago