mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: add binding to get RC_Channel by number
This commit is contained in:
parent
aaa8600d7b
commit
5eee3c4eb0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue