Problem with SRV_Channels:get_output_pwm() method

Hello guys,

I wrote a little script to customise my arduplane and have some error with method SRV_Channels:get_output_pwm()

Does somebody what is the error ?
lua commande lua script

thanks alot
SRV_Channels:find_channel() and servo.set_output_pwm() work well

Hey again, I didn’t find a solution,

can anybody help me ?

Thanks :wink:

Up :wink:

Does someone has any documentation ?

Thanks

You may want to use the lasted build of ardupilot, since the copter or plane 4.0 does not contain that method, ie get_output_pwm (but master branch does)