Pierre Kancir
0725cbdffc
RC_Channel: add AUX_SWITCH_PWM_TRIGGER_LOW and AUX_SWITCH_PWM_TRIGGER_HIGH
2021-02-10 18:48:06 +11:00
Peter Barker
c590aa061f
RC_Channel: return uint32_t for number of ms overrides should live
2021-01-06 18:33:15 +11:00
Peter Barker
44cafa0dcc
RC_Channel: add auxillary function to change to FBWA
2020-12-15 19:14:33 +11:00
Peter Barker
ab444e1d26
RC_Channel: correct function initialisation
2020-12-11 15:21:22 +11:00
Peter Barker
4d30b52744
RC_Channel: add string for motor eSTOP
2020-12-01 10:06:57 +11:00
Hwurzburg
f37d8e5865
RC_Channel: add inflight airspeed cal rc switch
2020-11-25 21:30:15 +11:00
Hwurzburg
ae8fe818c8
RC_Channel: move RETRACT_MOUNT option to common for all vehicles
2020-11-24 20:22:02 +11:00
Gone4Dirt
66285b65ce
RC_Channel: Add support for AP_Generator frontend
2020-11-24 12:54:52 +11:00
Randy Mackay
04655d9698
RC_Channel: add aux switch to change the EKF's sensor sources
2020-11-20 16:43:44 +09:00
Tom Pittenger
8bcc32db78
RC_Channel: added adsb health check
2020-11-04 16:22:47 +11:00
Hwurzburg
a7a780ec6e
RC_Channel: add RC option for landing flare
2020-10-13 11:36:19 +11:00
Tatsuya Yamaguchi
ea0d869a9c
RC_Channels: redefine surface tracking auxiliary function
2020-10-05 13:23:51 +09:00
Andy Piper
93ac301b19
RC_Channel: conditionlly compile in ADSB support
2020-09-22 09:33:51 +10:00
Tatsuya Yamaguchi
5ea1fde6ee
RC_Channel: update RCx_OPTION's @Values order
2020-09-14 13:27:53 +10:00
ashvath100
9968b2f52c
RC_Channel: add height input channel
2020-09-10 08:27:01 +09:00
Peter Hall
d5316edde7
RC_Channel: add roll and pitch input channels
2020-09-01 09:33:24 +09:00
Peter Barker
9cdda81e9c
RC_Channel: correct case in AvoidAPRoximity function string
2020-08-29 09:48:33 +09:00
Mark Whitehorn
7d67151c87
RC_Channel: update Plane RC_Option metadata
2020-08-13 08:47:27 +10:00
Andrew Tridgell
676c36bad4
RC_Channel: fixed use of radio_in out of range for angle inputs
...
this prevents mis-calculation of the angle when RC input goes outside
of the configured range. This impacted on throttle nudge in plane when
reverse thrust was enabled
thanks to Pompecukor for reporting!
2020-08-04 09:33:19 +10:00
Iampete1
a95981d022
RC_Channel: add scripting functions
2020-07-28 13:47:35 +10:00
Samuel Tabor
db081459d8
RC_Channel: Fix missing soaring entry.
2020-07-22 19:05:03 +10:00
Henry Wurzburg
966e9ddf2b
RC_Channel: add CROW flaps mode select switch
2020-07-16 13:30:45 +10:00
Henry Wurzburg
2ba458a75d
RC_Channel: adds Generator to metadata
2020-07-14 14:06:03 +09:00
Henry Wurzburg
b84b6b52b3
RC_Channel: add terrain follow disable switch for CRUISE/FBWB
2020-07-08 13:39:42 +10:00
Mark Whitehorn
2af6e255d1
RC_Channel: add RC option for VTOL manual forward throttle
...
fix RC_OPTION metadata for 209: Forward Throttle
2020-07-07 08:37:46 +10:00
Peter Barker
4b2851a9b2
RC_Channel: add text for Generator AUX_FUNC
2020-07-03 08:21:42 +09:00
Peter Barker
b2bd8d5759
RC_Channel: add support for RichenPower generator control
2020-07-03 08:21:42 +09:00
Michael du Breuil
e4d0484b75
RC_Channel: Cope with selective overrides and no RC reciever in a healthier way
2020-06-23 09:33:30 +10:00
Henry Wurzburg
fe2a468b14
RC_Channel: fix metadata order on _OPTIONS
2020-06-22 20:56:39 +10:00
Andrew Tridgell
7d430ae0ca
RC_Channel: added rc option 105 to disable GPS yaw
...
very useful when doing testing of a moving baseline GPS yaw setup
2020-06-18 15:01:00 +10:00
Andy Piper
1280eff6ef
RC_Channel: add AIRMODE for copter
2020-06-16 20:30:26 +10:00
Peter Barker
040f78f515
RC_Channel: announce RC switch changes via statustext
2020-06-16 14:03:07 +10:00
Peter Barker
88f4232e46
RC_Channel: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos'
2020-06-12 08:11:46 +10:00
Sergey Bokhantsev
f92d539b41
RC_Channel: Aux switches to respect 'reverse' option
2020-06-09 11:13:35 +10:00
Peter Barker
f04acbd7de
RC_Channel: stop writing events when fence enabled or disabled
...
AC_Fence now does this
2020-06-09 10:52:19 +10:00
Randy Mackay
c936307ecf
RC_Channel: minor format fix to option param desc
2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi
ea3c11030c
RC_Channel: add ZIGZAG_Auto Aux switch
2020-06-03 15:21:21 +09:00
Peter Hall
bfd71fdae1
RC_Channel: add Qassist switch
2020-05-26 09:01:47 +10:00
Tatsuya Yamaguchi
806bd38c7f
RC_Channel: add get_channel_pos function
2020-05-05 10:09:30 +09:00
Tatsuya Yamaguchi
4fdd24ecd3
RC_Channel: add disarm aux switch RCn_OPTION=81
2020-05-05 10:09:30 +09:00
Andrew Tridgell
6b6f083bf2
RC_Channel: added lane switch RCn_OPTION=103
...
RC_Channel: added yaw reset switch RCn_OPTION=104
2020-04-24 09:43:23 +10:00
Randy Mackay
47c7c8fb53
RC_Channel: rover option param desc gets Viso Align
2020-04-22 10:34:18 +09:00
Randy Mackay
2f5a8fd6b9
RC_Channel: add aux function for visodom-calibrate
2020-04-09 19:41:08 +09:00
Randy Mackay
cd38940ecf
RC_Channel: formatting fixes
2020-02-25 17:38:24 +09:00
Randy Mackay
77d5165c01
RC_Channel: add norm_input_ignore_trim
...
same as norm_input but ignores the trim value
2020-02-25 17:38:24 +09:00
Peter Barker
347f64264d
RC_Channel: log disarm method
2020-02-22 12:16:29 +11:00
Matt Lawrence
27e825b058
RC_Channel: Add GoPro mode toggle Aux switch
2020-02-18 11:13:27 +11:00
Peter Barker
73e51c480a
RC_Channel: correct RC_set_override parameter name
...
This was just misnamed. All callers appear to be passing ms in.
2020-02-10 13:46:33 -07:00
Rob Ratcliff
5c388507d4
RC_Channel: fix handling of rc_override_time of -1
2020-01-27 19:21:54 +09:00
Andrew Tridgell
32221e2207
RC_Channel: use HAL_SPRAYER_ENABLED
2020-01-18 13:48:48 +11:00
Peter Barker
ac25b90dda
RC_Channel: factor out a do_aux_function_armdisarm method
2020-01-08 18:36:02 +11:00
Peter Barker
10976344b8
RC_Channel: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
...
All users set this.
2020-01-08 18:36:02 +11:00
Peter Hall
df3ffb215e
RC_Channel: add Flap input
2020-01-01 08:11:01 +11:00
Andy Piper
fcc7b58b5f
RC_Channel: add runcam osd control option
2019-12-30 13:02:04 +11:00
Andy Piper
3cba76123b
RC_Channel: add support for RunCam camera control
...
make read_3pos_switch and enum public
2019-12-30 13:02:04 +11:00
giacomo892
1763be2c03
RC_Channel: added LOITER switch for plane
2019-12-17 16:14:53 +11:00
Randy Mackay
93e1f7d46a
RC_Channel: init aux function cases in alphabetical order
2019-11-12 18:56:13 +11:00
Henry Wurzburg
1238d4b3e6
RC_Channel: add ADSB Avoidance enable option to RC options for plane
2019-11-12 13:48:09 +11:00
Peter Barker
e12a841eb5
RC_Channel: move support for ADSB avoidance switch enable up
2019-11-12 13:48:09 +11:00
Peter Barker
3fb596d5ae
RC_Channel: don't enter the config error loop on unknown options
...
... unless we are in SITL
Users moving backwards and forwards between versions can hit this case
too easily.
We probably need a better story around this error loop so it's less
confusing to the user about what's going on.
2019-11-12 09:20:03 +08:00
Mark Whitehorn
285901f57c
RC_Channel: enter config_error loop for invalid RC option
2019-11-08 10:14:34 +11:00
Mark Whitehorn
7f6e89bee8
RC_Channel: enter error loop on invalid RC option
2019-11-08 10:14:34 +11:00
Mark Whitehorn
c5abcb5584
RC_Channel: don't panic on unsupported RCn_OPTION in SITL
2019-11-08 10:14:34 +11:00
Henry Wurzburg
f1efc957fc
RC_Channel: OPTION:Copter re-order,add STANDBY, rmv winch,Rover rename Simple
2019-11-05 11:30:43 +11:00
Peter Barker
8686fb30f8
RC_Channel: remove old comments to do with gripper grab/release
2019-11-05 08:19:26 +08:00
Peter Barker
daf071f7f6
RC_Channel: cope with change in namespace of LogEvent enum
2019-11-05 08:19:26 +08:00
Henry Wurzburg
119f0a95ad
RC_Channel: added RC option for new takeoff mode
2019-10-21 08:41:58 +11:00
Henry Wurzburg
4a42a3a23a
Rover: implement steering trim save in armed/manual mode only
2019-10-08 07:41:57 +09:00
Randy Mackay
6be4adbe02
RC_Channels: define surface tracking auxiliary function
2019-09-28 11:13:14 +09:00
Peter Hall
2f3c0447eb
RC_Channel: add fence and value for rover
2019-09-02 11:03:27 +09:00
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
2019-09-01 09:11:25 +09:00
SergeyBokhantsev
c73a4fd227
RC_Channel: unify debounce code
2019-08-02 12:34:02 +01:00
Randy Mackay
00cc4ace8a
RC_Channel: resolve gcs::send_text compiler warning
2019-07-30 09:02:39 +09:00
Peter Barker
f85bad752e
RC_Channel: add both clear and reset options to Rover and Plane docs
2019-07-16 09:24:18 +10:00
Peter Barker
aab787b08b
RC_Channel: move mission reset in from Copter
2019-07-16 09:24:18 +10:00
Andrew Tridgell
a38b030c41
RC_Channel: disable kill IMU with HAL_MINIMIZE_FEATURES
2019-07-07 19:03:01 +10:00
Andrew Tridgell
30d27147a8
RC_Channel: added RC switch for killing IMUs
2019-07-07 19:03:01 +10:00
Peter Barker
8f8851271a
RC_Channel: add mode-changing options to Plane RC channel options
2019-06-18 10:48:47 +10:00
Michael du Breuil
6317355390
RC_Channel: Fix AP_GPS include
2019-06-18 10:02:05 +10:00
Peter Barker
c38e5ba4fc
RC_Channel: handle AUX_FUNC::ARMDISARM
2019-05-30 07:37:30 +09:00
Andrew Tridgell
19ace7cace
RC_Channel: guarantee logging of RCIN on switch changes
2019-05-22 07:37:56 +10:00
Tom Pittenger
fc710d8a81
RC_Channel: remove UINT16_MAX check, moved to mavlink handler
2019-05-10 15:30:54 -07:00
Tom Pittenger
fbe43dba5c
RC_Channel: refactor stick_mixing to library
2019-05-03 13:14:11 -07:00
Randy Mackay
c2318503db
RC_Channel: fix-up OPTION param docs
2019-04-16 10:56:23 +09:00
Arjun Vinod
66bdabfa26
RC_Channel: updated the parameter docs
2019-04-16 10:47:26 +09:00
Arjun Vinod
77a7c1bdf7
RC_Channel: fixed typo
2019-04-12 09:23:42 +10:00
Michael du Breuil
125f9bd806
RC: Fix includes
2019-04-05 20:12:53 +11:00
Tom Pittenger
dce484685b
RC_Channel: fix compiler warning. %u should be cast as unsigned
2019-04-04 10:19:50 +11:00
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>
2019-04-03 09:53:58 -07:00
Peter Barker
e869eaeda4
RC_Channel: make has_new_overrides non-static
2019-04-02 10:16:30 +11:00
Peter Barker
2331232bdd
RC_Channel: remove static override_timeout
2019-04-02 10:16:30 +11:00
Peter Barker
bc2ede5582
RC_Channel: tidy RC option flag handling
2019-04-02 10:16:30 +11:00
Tom Pittenger
961085fbd1
RC_Channel: rename dataflash to logger
2019-03-28 16:40:58 +11:00
IamPete1
8f9f572489
RC_Channel: add global E-stop function
2019-02-27 08:51:24 +09:00
Peter Barker
c235b1ccc2
RC_Channel: correct comment
2019-02-15 08:15:45 +11:00
Tom Pittenger
ece8580c1d
RC_Channel: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07:00
Peter Barker
e7e51d6f49
RC_Channel: indicate gripper available on an RC Channel
2019-02-09 11:02:22 +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
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
Andrew Tridgell
ee78374513
RC_Channel: added GPS_DISABLE option on a switch
2018-11-29 08:49:23 +11:00