MissionPlanner Using Aux Channels with Python

I’ve been trying to send signals via PWM to Auxillary Channels (9-12), but I’ve been unsuccessful.

Does anyone know how to do this? I’m using the auxillary channels to control a camera, it works via RC transmitter but fails using Python when I tried

Script.SendRC(10, 1700, True), or any channel from 9 to 12

Or are there anyway to control camera gimbal via python script?

only support the first 8 channels.

however you can use doCommand do_set_servo to set the pwm on the channels above 8

MAV.doCommand(MAVLink.MAV_CMD.DO_SET_SERVO, 10, 1700, 0, 0, 0, 0, 0);

Thanks for replying! Do you happen to have a better way of controlling camera gimbals instead of sending pwms directly to the servos?