Trigger camera from OnBoard

I’m writing onBoard software that should trigger the camera connected to my pixhawk 2.4.8.
The camera is connected to AUX5 of the FC and uses seagull to convert from PWM to aux cable and then connected to SonyA7 camera. I followed this manual:

I manage to trigger the camera from QGroundControl but when i try to do this via mavSDK or mavLink it wont work.
I was looking for the command that the QGC sends to the FC but couldnt find it.
any help?

1 Like

How do you trigger the camera with QGroundControl? I assume you use MAV_CMD_DO_SET_CAM_TRIGG_DIST or MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL.

However, with MAVSDK with the normal mission plugin it uses MAV_CMD_IMAGE_START_CAPTURE, so that’s not the same command.

You could try to use the mission_raw plugin and use the commands that you are using in QGroundControl. If you don’t know exactly what MAVLink commands you are using in QGoundControl you can also export the mission as .plan JSON file and inspect that file closer for the commands used.