I am new to px4, so please bear with me. I am using Quad Airframe using pixhawk 4. I have connected a Servo motor to AUX1 port of pixhawk. I am trying to give pwm signals on the AUX1 port using Dronecode SDK C++ libraries. I want to move the servo motor after a particular waypoint in the mission. (I tried doing it in Qgroundcontrol and it works but I want to do it using C++ script). I also tried to import the mission plan from Qgroundcontrol and then upload it to the vehicle using C++ script but got an error of UNSUPPORTED mission item command.
I couldn't find any plugins which i can use. does that mean I have to create my own plugin for the servo motor?
Can anyone please help me out?