Commit Graph

622 Commits

Author SHA1 Message Date
Gone4Dirt 2599c2d134 RC_Channel: make AUXF.function an instance 2022-01-18 11:10:17 +11:00
Andrew Tridgell 4733f57102 RC_Channel: don't use avoidance on plane 2022-01-11 09:51:47 +11:00
Tom Pittenger c82866dff8 RC_Channel: fix typo, again
correctly fixes https://github.com/ArduPilot/ardupilot/pull/19663
2022-01-05 19:23:46 +00:00
Mirko Denecke 763f768c30 RC_Channel: fix typo 2022-01-05 17:00:45 +11:00
Hwurzburg ff3c4b8bda RC_Channel: add RC option to report CRSF LQ as RSSI
Co-author: Jules Gilson <julesgilson@yahoo.co.uk>
2021-12-21 10:04:33 +11:00
Hwurzburg 83d3aace44 RC_Channel: correct Rover metadata 2021-12-11 09:55:30 +11:00
Andrew Tridgell 0554fb2d4f RC_Channel: added QRTL mode on a switch 2021-12-02 08:29:07 +11:00
Iampete1 467caa5259 RC_Channel: remove landinggear switch message 2021-11-23 11:40:44 +11:00
Andrew Tridgell a78200fa24 RC_Channel: added parachute for plane 2021-11-22 13:22:54 +11:00
Hwurzburg 1162d556c6 RC_Channel: fix flare rc switch action with flight option bit 10 active 2021-11-21 21:00:04 +11:00
Peter Barker 409147a291 AP_RCProtocol: add support for DJI Fast SBUS
It's just SBUS... but with increased opportunities for corruption
2021-11-18 17:19:04 +11:00
Andrew Tridgell 71faeb926c RC_Channel: added fixed wing autotune rc option 2021-11-10 18:46:34 +11:00
Iampete1 c9107b2e98 RC_Channel: add gcs_is_calibrating bool 2021-11-02 10:05:07 +11:00
Hwurzburg 9c529c8950 RC_Channel: add RC option to plane for emergency remote landing that forces FS actions to FBWA 2021-10-26 10:34:28 +11:00
Iampete1 14b9e99020 RC_Channel: use float for stick mixing 2021-10-20 18:29:58 +11:00
Shiv Tyagi 229e2757d4 RC_Channel : Formatting fix for blimp parameter documentation 2021-10-20 14:22:48 +11:00
Randy Mackay 47dd2d7aea RC_Channel: torqeedo clear error aux function 2021-10-19 01:30:51 -04:00
Andrew Tridgell 6c2689fef2 RC_Channel: added RC_OPTION bit for allowing RC protocol switching
this is meant to prevent accidential switching to a disconnected pin
2021-10-15 19:29:23 -04:00
Peter Barker 893354ccfe RC_Channel: correct spelling error in parameter description 2021-10-13 19:36:20 +11:00
Iampete1 82cd9e24c3 RC_Channel: add configured_in_storage metthod 2021-10-11 22:19:17 -04:00
Iampete1 3d566ca59b RC_Channel: add trim to current servo and RC option 2021-09-28 09:16:24 +10:00
Iampete1 b6a73dd3d0 RC_Channel: renstate ArmDisarm Discription with 4.1 note 2021-09-27 13:33:54 +01:00
Peter Barker b0e59b2611 RC_Channel: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED 2021-09-26 19:24:09 +10:00
Iampete1 524ea39dfa RC_Channel: add convert_options function 2021-09-21 09:36:24 +10:00
Iampete1 c67705b02d RC_Channel: do_aux_function_armdisarm no longer needs to be virtual 2021-09-21 09:36:24 +10:00
Iampete1 39ca7dae1c RC_Channel: add two new ARMDISARM options and deprecate old 2021-09-21 09:36:24 +10:00
Iampete1 169375d14f RC_Channel: arming_check_throttle to virtual 2021-09-18 15:52:38 +01:00
Iampete1 1f7023b580 RC_Channel: add SIMPLE_HEADING_RESET option 2021-09-08 16:49:33 +09:00
Iampete1 e28650c8bd RC_Channel: remove recompute_pwm_no_deadzone 2021-08-31 09:48:59 +10:00
Teo 4988f72ee2 RC_Channel: removed dead code 2021-08-28 10:29:06 +09:00
Randy Mackay 04c8ad6150 RC_Channel: rename visodom_calibrate to visodom_align
This should be a non-functional change
2021-08-25 15:42:02 +10:00
Andy Piper 3790957d02 RC_Channel: add turtle mode docs 2021-08-18 10:49:13 +10:00
Peter Hall 8e62385d8d RC_Channel: add lua helper 2021-08-17 11:01:00 +01:00
Andy Piper b9598dac00 RC_Channel: add turtle mode to RC option 150 2021-08-12 19:00:51 +09:00
Andy Piper 5ece42bce0 RC_Channel: add turtle mode 2021-08-12 19:00:51 +09:00
Hwurzburg 42128a70b8 RC_Channel: add CRUISE mode RC AUX Function switch 2021-08-11 18:35:05 +10:00
Hwurzburg 80b4cd7ae9 ArduPlane: correct Mission Reset override behaviour in Plane 2021-08-06 10:17:25 +10:00
Iampete1 7d3fa242d7 RC_Channel: add AUTO RTL option 2021-07-27 09:00:11 +09:00
Andrew Tridgell f969dbe411 RC_Channel: added training mode RC option 2021-07-20 09:00:46 +10:00
Hwurzburg 55af794a2f RC_Channel: add Link Quality reporting to RC protocols 2021-07-16 13:27:38 +10:00
Hwurzburg 448ae368b1 RC_Channel: fix ELRS systems spamming CRSF mode/rate messages 2021-07-13 09:52:53 +10:00
Michelle Rossouw 3bfd577a49 RC_Channel: Add blimp param frame values 2021-07-06 14:56:02 +10:00
Peter Barker 5d6b733d6d RC_Channel: add rc channel option to disable all airspeed sensors 2021-06-23 15:13:13 +10:00
Tatsuya Yamaguchi 001b2a825d RC_Channel: add const in member functions 2021-06-23 11:32:40 +10:00
Tatsuya Yamaguchi 5a8ebeda1d RC_Channel: add flight mode conflict check 2021-06-23 11:32:40 +10:00
Tatsuya Yamaguchi e63918d9ba RC_Channel: refactor KILL_IMU of do_aux_function 2021-05-30 11:33:47 +10:00
Pierre Kancir c17ef36354 RC_Channel: change or to || 2021-05-19 20:54:30 +09:00
Pierre Kancir 002b00f69d RC_Channel: make RC PWM LIMITS variables 2021-05-19 20:54:30 +09:00
Peter Barker 3de3f57501 RC_Channel: log which RC channels are being overridden 2021-05-15 14:49:20 +10:00
Andy Piper 0d43cb4622 RC_Channel: add VTX power to docs 2021-05-11 10:29:15 +10:00
Iampete1 cbbdf8ba74 RC_Channel: add SCRIPTING aux fun trigger source 2021-05-04 09:05:56 +10:00
Pierre Kancir 21d92780d2 RC_Channel: log init_aux_function and read_aux 2021-04-29 21:49:45 +10:00
Peter Barker a12ed2c99f RC_Channel: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Iampete1 67edff1c7c RC_Channel: add WIND_VANE_DIR_OFSSET option 2021-04-28 15:16:35 +10:00
Hwurzburg 85e3772759 RC_Channel: correct metadata for fence enable and rst mode for Plane 2021-04-20 16:14:22 +10:00
murata 3344e87639 RC_Channel: Align Relay5 and Relay6 notations with others 2021-04-15 08:42:54 +09:00
Peter Barker e5a8acb227 RC_Channel: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Peter Barker 30539ac8ac RC_Channel: add method on RC_Channels to execute aux function 2021-03-31 11:36:09 +11:00
Iampete1 733db3de19 RC_Channel: add MODE_SWITCH_RESET option 2021-03-17 19:18:46 +11:00
Iampete1 2d91679ec2 RC_Channel: add FBWA_TAILDRAGGER option 2021-03-17 19:18:46 +11:00
Iampete1 77e1092f46 RC_Channel: do_aux_function_mission_reset to virtual 2021-03-17 19:18:46 +11:00
Peter Barker a97786c01d RC_Channel: use RC channel options 203 and 204 for throttle and yaw
This gives us a 200 + n mapping for the traditional AETR mapping.

Unfortunately, it will break walking robots until they update their
parameters
2021-03-03 08:42:00 +11:00
Andy Piper 8df8898464 RC_Channel: move AP_VideoTX to AP_VideoTX 2021-02-23 11:43:32 +11:00
Andy Piper ea3af39773 RC_Channel: add support for 6-position switch and use it for VTX power 2021-02-17 18:23:33 +11:00
Pierre Kancir 287645cf68 RC_Channel: use AUX_PWM_TRIGGER_LOW and AUX_PWM_TRIGGER_HIGH 2021-02-10 18:48:06 +11:00
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
Pierre Kancir 9dcaf155a6 RC_Channel: add use RC_CALIB_MIN_LIMIT_PWM and RC_CALIB_MAX_LIMIT_PWM 2021-02-10 18:48:06 +11:00
WillyZehnder 2e2ec79992 RC_Channel: reserve AUX_FUNC for MISSION_RELATIVE 2021-01-26 10:14:11 +11:00
yaapu 79640e5d94 RC_Channel: added support for passthrough telemetry over crossfire 2021-01-20 18:06:24 +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
Andrew Tridgell 6249abaf8f RC_Channel: fixed example firmware 2020-12-15 10:32:46 +11:00
Peter Barker ab444e1d26 RC_Channel: correct function initialisation 2020-12-11 15:21:22 +11:00
yaapu 6dfa42c958 RC_Channel: added FPORT2 to RC_PROTOCOLS parameter 2020-12-09 19:14:51 +11:00
Peter Barker 4d30b52744 RC_Channel: add string for motor eSTOP 2020-12-01 10:06:57 +11:00
Peter Barker 4b6e4e10ed AP_Button: allow RC Channel function to be specified for a button
Function will be executed on transition
2020-12-01 10:06:57 +11:00
Peter Barker 7ea78791c2 RC_Channel: make string_for_aux public 2020-12-01 10:06:57 +11:00
Peter Barker 0f597e0919 RC_Channel: expose do_aux_function for button to call 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 230798546e RC_Channel: correct metadata for RC_OPTION param 2020-11-03 11:06:36 +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
Samuel Tabor f1290a2e17 Plane: Add use of airbrakes, used when throttle is negative OR via RC channel option. 2020-09-02 10:10:09 -07: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
Andrew Tridgell 959e3da406 RC_Channel: added RC_PROTOCOLS mask
allows selection of supported protocols
2020-08-24 16:32:35 +10:00
Mark Whitehorn 7d67151c87 RC_Channel: update Plane RC_Option metadata 2020-08-13 08:47:27 +10:00
Mark Whitehorn 1c60a3eb4c RC_Channel: default throttle pre-arm check to enabled 2020-08-04 10:26:45 +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
Samuel Tabor 455ebaadf2 RC_Channel: Add soaring aux function. 2020-07-21 09:38:04 +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
Peter Barker 349c11d631 RC_Channel: comment some of our range conventions on RC channel options 2020-06-19 10:03:02 +09: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
Andrew Tridgell 04e29d58e3 RC_Channel: avoid invalid misaligned access in example 2020-05-10 15:11:22 +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
Peter Barker 4245ee6543 RC_Channel: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Randy Mackay 2f5a8fd6b9 RC_Channel: add aux function for visodom-calibrate 2020-04-09 19:41:08 +09:00
Michael du Breuil 2b9aa9bc21 RC_Channel: Add option bit for arming checking the throttle input (opt-in)
Also adds interface to find out what channel is used for rudder arming
2020-04-07 14:01:12 -07:00
Andrew Tridgell f299a4af33 RC_Channel: added RC_OPTION bit for protocol logging 2020-03-24 09:10:36 +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
Andrew Tridgell 7769cf5316 RC_Channel: added FPort pad option 2020-01-02 09:52:57 +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
Andrew Tridgell 750718bdd3 RC_Channel: simplify channel check in get_pwm() 2019-12-20 19:51:46 -07:00
Andrew Tridgell dfd7b022fd RC_Channel: added get_pwm() function for Lua 2019-12-20 19:51:46 -07:00
Andrew Tridgell 6ff303adf4 RC_Channel: added comment on odd inheritance 2019-12-19 14:52:33 +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