From 39d2079c0670397079388478bdb7dcac178b0924 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 19 Aug 2020 20:48:48 +0900 Subject: [PATCH] AP_Scripting: add set_angle and set_range bindings --- libraries/AP_Scripting/generator/description/bindings.desc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index a3b11ca51f..bf65eed4de 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -202,6 +202,8 @@ singleton SRV_Channels method set_output_scaled void SRV_Channel::Aux_servo_func singleton SRV_Channels method get_output_pwm boolean SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint16_t'Null singleton SRV_Channels method get_output_scaled int16_t SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 singleton SRV_Channels method set_output_norm void SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 float -1 1 +singleton SRV_Channels method set_angle void SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint16_t 0 UINT16_MAX +singleton SRV_Channels method set_range void SRV_Channel::Aux_servo_function_t'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint16_t 0 UINT16_MAX ap_object RC_Channel method norm_input float ap_object RC_Channel method get_aux_switch_pos uint8_t