Pierre Kancir
c81ddd85b6
RC_Channel: fix receiver typos
2019-01-25 10:01:00 +09:00
Randy Mackay
413bceda9d
RC_Channel: minor format fix
2019-01-21 14:47:32 +09:00
ChrisBird
fad02bf55a
AP_Relay: Adding a 5th and 6th Relay as per issue #8979
2019-01-16 13:26:25 +00:00
Peter Barker
87aeaf7315
RC_Channel: adjust type for auxillary switch position
2019-01-09 17:21:00 +11:00
Peter Barker
bb0a4f3c78
RC_Channel: avoid using out-of-range aux switch values
...
We already use these ranges for the mode switch
2019-01-08 12:56:32 +09:00
Randy Mackay
aa7c9ec89e
RC_Channel: minor format fixes
2018-12-05 19:18:31 +09:00
Andrew Tridgell
ee78374513
RC_Channel: added GPS_DISABLE option on a switch
2018-11-29 08:49:23 +11:00
Peter Barker
c9714ae962
RC_Channel: read_aux_all is no longer overrridden by any class
2018-11-23 10:56:17 +11:00
Andrew Tridgell
285935f8b3
RC_Channel: added reverse throttle RC option
...
used in plane for reverse on a switch
2018-11-16 08:33:35 +11:00
IamPete1
e42c3c6fab
RC_Channel: add Sailboat Tack to aux switch
2018-11-01 18:04:19 +09:00
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
2018-10-30 12:10:42 +11:00
Randy Mackay
e6b8607baf
RC_Channel: formatting and comment fix
2018-10-30 12:10:42 +11:00
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
2018-10-24 07:25:42 +10:00
Peter Barker
c7d052eec8
RC_Channel: add const keyword to many methods
2018-10-23 12:30:35 +11:00
Peter Barker
ea426a3d45
RC_Channel: fix erroneous comment on RC relay options
2018-10-23 11:42:47 +11:00
CAO MUQING
09030b1b13
RC_Channel: add aux switch options for ZigZag mode and ZigZag SaveWP
2018-10-05 10:05:45 +09:00
Ammarf
2beb3a278a
RC_Channel: add simple mode to aux functions
2018-09-11 16:43:17 +09:00
Michael du Breuil
20c56f3e06
RC_Channel: Add an accessor for a channels range and type
2018-09-11 09:07:00 +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
7bdd9b1aea
RC_Channel: move handling of disable-gcs-rc-overrides-channel-option
2018-09-05 11:54:32 +10:00
Peter Barker
3c8738b4d8
RC_Channel: add clear-waypoints option
2018-09-04 10:32:26 +10: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
Peter Barker
e4d3ed7e39
RC_Channel: move handling of sprayer and gripper in from Copter
2018-08-17 15:33:35 +09:00
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.
2018-08-07 09:45:09 +10:00
Peter Barker
ff36eb3aca
RC_Channel: remove old members objects
2018-08-03 13:07:50 +10:00
Peter Barker
0f084ed5bf
RC_Channel: add compatability static functions
...
Just to avoid churn in Sub, Plane and Tracker
2018-08-01 12:11:30 +09:00
Peter Barker
747fc3814d
RC_Channel: rename in_rc_failsafe to has_valid_input
2018-08-01 12:11:30 +09:00
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
2018-08-01 12:11:30 +09:00
Michael du Breuil
60f19bbf02
RC_Channel: Allow an input to be ignored
2018-08-01 09:19:20 +10:00
Michael du Breuil
95eda5d9b7
RC_Channel: Remove unneeded interfaces
2018-06-11 16:29:36 -07:00
Michael du Breuil
0fcf07fde7
RC_Channel: Remove input() method from individual channels
2018-06-05 09:51:09 +10:00
Michael du Breuil
4253c7f74d
RC_Channel: Move overrides out of the HAL
2018-06-05 09:51:09 +10:00
Michael du Breuil
c8a93f9b76
RC_Channel: Remove set_overrides() method
2018-05-11 12:13:39 +01:00
Michael du Breuil
30554d0de0
RC_Channels: Collapse has_new_input() with set_pwm_all()
2018-04-26 08:00:09 +10:00
Michael du Breuil
c8fdb90ab5
RC_Channel: Rework set_pwm_no_deadzone() to a recompute function
2018-04-14 14:05:20 +10:00
Michael du Breuil
a6afc69c13
RC_Channel: Support most hal.rcin functions in RC_Channels
2018-04-11 21:47:07 +01:00
Andrew Tridgell
ac4017e2ae
RC_Channel: added set_and_save_radio_trim()
...
# Conflicts:
# libraries/RC_Channel/RC_Channel.h
2018-02-08 17:36:33 +11:00
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
2018-01-10 16:42:51 +09:00
Andrew Tridgell
64f722876f
RC_Channel: use set_and_save_ifchanged
2017-07-03 11:17:42 +10:00
Andrew Tridgell
b50ab75f4c
RC_Channel: added set_and_save_trim()
2017-07-03 11:17:42 +10:00
Peter Barker
d2b2ddcb02
RC_Channel: make min_max_configured const
2017-01-20 13:02:53 +09:00
Andrew Tridgell
77a7e7ca01
RC_Channel: give access to internals to SRV_Channel
...
needed for parameter upgrade
2017-01-12 17:39:37 +11:00
Andrew Tridgell
b6aa4205b4
RC_Channel: cleanup API and comments a bit
2017-01-12 17:39:37 +11:00
Andrew Tridgell
64aa13e7f4
RC_Channel: 2nd stage of SRV_Channels conversion
...
allow for 16 output channel objects
2017-01-12 17:39:37 +11:00
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.
2016-10-24 09:42:01 -02:00
Andrew Tridgell
73b9123495
RC_Channel: added set_trim() API to SRV_Channels object
2016-10-15 16:59:35 +11:00
Andrew Tridgell
fea7903aa8
RC_Channel: added get_radio_out_normalised()
2016-10-15 16:59:35 +11:00
Andrew Tridgell
96c7d9dde8
RC_Channel: make output_trim() go via _radio_out
...
this ensures that _radio_out always contains the value that would be
output to the channel. This will be used by the SRV_Channels object
2016-10-15 16:59:35 +11:00
Andrew Tridgell
3377714300
RC_Channel: fixed typo
2016-07-01 15:35:55 +10:00
Andrew Tridgell
934d2b6ae4
RC_Channel: added setup_failsafe_trim_mask()
2016-06-30 16:46:57 +10:00