How can I control servo in mission planner?

Hello. I have a quadcopter with a Pixhawk 4 flight controller. I want to connect a servo to make a box open and close. I can operate the servo from the remote by connecting it to the receiver channels. I haven’t made any changes to the parameters in the Misson planner. Also, I can see it in the servo output because I have assigned the servo to the channel in the receiver. But what I want is for the servo to work autonomously. Likewise, I will run my quad autonomously. For example, I want the box to open itself when hovering over a certain region. Also where should I connect my servos for this task?
I want to using miison planner for this.

I’m very new to this and haven’t found anything useful. Could you please help?

1 Like

Wait an answer … and hope with a clear wiring