Servers by jDrones

Switch on/off camera in auto mission using Seagull map2

Hello,
I have read that it should be possible to switch on and off the camera during auto mission, using “Do-Set-Servo” or “Do-Repeat-Servo” commands.
I am using Sony RX100-II as a camera, and Seagull map2 to control the camera (https://ardupilot.org/copter/docs/common-camera-trigger-seagull-map2.html#common-camera-trigger-seagull-map2

I tried creating a mission with the “Do-Set-Servo” or “Do-Repeat-Servo” commands, using the right PWM values (https://www.seagulluav.com/manuals/Seagull_MAP2-Manual.pdf. But it didn’t switched on the camera.

Does someone know how to properly switch on and off the camera in this configuration ? I already did it with px4, so it is not a hardware problem, and it is written in ardupilot documentation that it should be possible.

P.S. : I am using latest MP and firmware.

Were guna need a log or at least a param file.

You should see a message in the messages tab if there is a servo output channel conflict.

I do not have the log of the flight I have tested that nor the mission I used.

First I followed the instructions on https://ardupilot.org/rover/docs/common-camera-shutter-with-servo.html#common-camera-shutter-with-servo

If I manually switch on the camera before the flight, I can take pictures, this works normally I can take pictures on the ground by clicking “Trigger camera now” on Mission planner, and in auto mission by setting DO_SET_CAM_TRIG_DIST waypoint. But this only if I first switch on the camera before the flight. It is important to switch off the camera before the landing.

Here are the camera settings :
image

param_camera.param (18.6 KB)

And attached you will find the full set of parameters.

Servers by jDrones