AP_Scripting: add binding to get RC_Channel by number

This commit is contained in:
Peter Hall 2021-08-04 20:47:08 +01:00 committed by Peter Hall
parent aaa8600d7b
commit 5eee3c4eb0
1 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,8 @@ singleton RC_Channels method get_pwm boolean uint8_t 1 NUM_RC_CHANNELS uint16_t'
singleton RC_Channels method find_channel_for_option RC_Channel RC_Channel::AUX_FUNC'enum 0 UINT16_MAX
singleton RC_Channels method run_aux_function boolean RC_Channel::AUX_FUNC'enum 0 UINT16_MAX RC_Channel::AuxSwitchPos'enum RC_Channel::AuxSwitchPos::LOW RC_Channel::AuxSwitchPos::HIGH RC_Channel::AuxFuncTriggerSource::SCRIPTING'literal
singleton RC_Channels method has_valid_input boolean
singleton RC_Channels method lua_rc_channel RC_Channel uint8_t 1 NUM_RC_CHANNELS
singleton RC_Channels method lua_rc_channel alias get_channel
include AP_SerialManager/AP_SerialManager.h