I need to drop a payload after landing (or while flying) using MAVLINK. I have a PX4 vtol plane with flytpi.
Have investigated the px4 doc a lot, but can not understand hoe to send a DO_SET_SERVO cmd to control AUX outputs on the pixhawk.
Can you help me, I know this is PX4 related, but can not get any help from their forum at the moment.
I can send the set servo cmd , but do not know what servo id to add to the command, and how that is connected to what AUX output. Also what is needed to be setup in PX4 in pixhawk to enable the aux output to work.
Using a switch via transmitter we can get to work, but not via mavlink command
(have it working with ardupilot, but px4 seems more complicated and less documented for me so far)
is is an EPM magnetic gripper device so need to set a certain pwm for about a second and then return to 1500 again as neutral.