PX4 / QGC Camera Trigger Issue – Image Capture Stops at Exactly 255 Photos

Hi everyone,
I’d like to ask for help and confirm a behavior we are consistently seeing during survey / mapping missions using PX4 + QGroundControl.


:wrench: Setup

  • Flight Controller: Pixhawk 6X

  • Firmware: PX4

  • GCS: QGroundControl

  • Camera: SIYI ZR10

  • Mission Type: Waypoint / Survey

  • Trigger Mode: Time-based (every 3 seconds)

  • Connection: MAVLink camera trigger


:red_exclamation_mark: Issue Observed

During survey missions:

  • The drone starts capturing images normally

  • Mid-mission, the camera suddenly stops taking pictures

  • Flight continues normally, but no more images are captured

  • This behavior is repeatable and consistent

After multiple tests, we noticed:

:camera_with_flash: Image capture always stops when the image count reaches exactly 255 photos

Restarting the mission or power-cycling the system resets the counter and image capture works again — until it reaches 255.

:red_question_mark: Questions for the Community / Devs

  1. Is this a known PX4 or QGC limitation?

  2. Has anyone else seen a 255-image capture limit?

  3. Is there a parameter or firmware fix to remove this?

  4. Is this handled in PX4, MAVLink, or camera-side firmware?

  5. Any recommended workaround for long survey missions?

    Is there a fix for this?

Can you maybe share a sample mission that you set in QGC? You can just export the mission plan file and attach it here.

I don’t see where in PX4 this is wrong. I would suspect this to be an issue with your camera. Have you checked with SIYI?

Edit: I just asked in SIYI’s Discord.

Sorry for any inconvenience caused to your use.
I need to confirm the ZR10 firmware version you are currently using and try to reproduce the exception.
Please take a photo and share it with me. Thank you.

1 Like

I took some time to use ZR10 for continuous photography testing. Send SDK command 0x0C to trigger photography, and send the command in a loop at intervals of 1500ms.

At present, a total of 18722 bytes have been sent, with each 0x0C command containing 11 bytes and sent 1702 times. Viewing the folder, a total of 1702 photos were actually recorded. I did not encounter the situation you described.

The current firmware of ZR10 is shown in the figure:

Please kindly send me the ZR10 firmware version you are currently using. Thank you.

Hello sorry for not replying. I’m currently out of town. I’ll send the details here on monday when I get back home thank you.

My only problem in Siyi ZR10 is when i set the mission in px4 to capture every 3 seconds, some of the captured image have grey part like it was not able to render the whole image properly.
what could be the problem there?

i see that you set zr10 to capture image every 1500ms and have gotten 1702 images. are all the images captured here is complete no greyed part?

What is the best SD card can you recommend for Siyi ZR10?

ill send my sample copy of the images with grey part and also the screenshot o firmware of the ZR10 by monday thank you

I checked over 300 consecutive photos from 1300 to 1700 this afternoon and did not encounter any gray screen phenomenon.
I will use the Ardupilot firmware to configure the MAVLink protocol for testing.

I did two rounds of testing this afternoon. The conclusion is as follows:

  1. Two tests were conducted, taking 280 and 345 photos respectively, and the situation of stopping shooting after 255 photos was not reproduced.
  2. I checked all 280 photos taken during the second round of testing and did not see any gray screen.

Test environment:

  1. Flight control firmware: ArduPilot v4.6.2 firmware
  2. Flight simulation software Mission Planner: v1.3.83
  3. Trigger photography through MAVLink protocol
  4. Automatic shooting of planned flight routes

@JulianOes I’m sorry I can no longer locate logs for this image capture during mission that stops triggering capture image once the image count is 255. Ill try to recreate the mission and submit the logs here this week.

@SIYI_Support Hello this is the sample of grey part images we encountered during mapping.

something like this.

its not happening in one image only.

also for the firmware of our ZR10 I forgot to take screenshot but it is same like what you posted
I updated it last month using the firmware posted in siyi website for ZR10.

Gimbal Firmware is v0.4.2
Zoom Firmware is v0.2.3
Camera Firmware is v0.3.8

this is the vibration of the UAV during mission ( mission + capture image every 3 seconds)

this is the flight log during mission ( Ulog ) : https://drive.google.com/file/d/1Nc8oj3p-EMSov3HA1vRfVM4c1L1hQXdX/view?usp=sharing

You have used a software to simulate capturing image every 1500ms . is there a way to replicate this by using esp32(microcontroller) thru SBUS or UART of ZR10?

like for example in siyi App
setting capture image button of ZR10 in channel 10 then letting esp32 to set pwm(high) to this channel every 2 to 3 seconds for 5min to simulate capturing images like in waypoint mission.

Thank you for providing the original image.

I need to communicate with the R&D engineer to see if it is possible to use MCU to send data to UART serial port for control. I will synchronize with you here if there is any news.

I would like to know more information. Could you please provide me with the following:

  1. How long have you been using this ZR10?
  2. Could you please provide the SN or QC card photo of this camera.
  3. Did this type of malfunction occur repeatedly during previous use (before and after firmware updates)?
  4. Is it only triggered stably during flight?

We have released a new firmware version to improve the gray screen phenomenon in camera photography. You can update the test.

Firmware download link: https://siyi.biz/siyi_file/ZR10/ZR10%20Firmware%20Pack%20v0.4.3.zip
Download link for firmware update software for gimbal and zoom: https://siyi.biz/siyi_file/SIYI.Assistant/SIYI%20Assistant%20v1.4.5.rar
Camera firmware update tutorial download link: 云台相机卡刷相机固件教程 - Google Drive
User manual download link: https://siyi.biz/siyi_file/ZR10/ZR10%20User%20Manual%20v1.7.pdf

Regarding the issue of the limit on the number of photos taken to 255, we found that MAVLink seems to stop after taking 255 photos. You can try changing the CAMVNet MAX_CNT parameter to 0 and testing again.

Perhaps you can share your flight control firmware version and parameter configuration. Let’s set up the same environment to test it.

Hello thank you for the update.

I will try updating the camera once I came back home and test it.

How about this part

image

Regarding the issue of the limit on the number of photos taken to 255, we found that MAVLink seems to stop after taking 255 photos. You can try changing the CAMVNet MAX_CNT parameter to 0 and testing again.

where to see this CAMVNet MAX_CNT? is there parameters needed to be enable to unhide or unlock this parameter option?

for the flight control:
Im currently using pixhawk 6x
with px4 v15.4 firmware

Ill ask my friend to send me a copy of the the params I used on the flight controller and send it here.

Thank you

Hello,

I have tried your suggestion but was not able to find the parameter you are suggesting.

Regarding the issue of the limit on the number of photos taken to 255, we found that MAVLink seems to stop after taking 255 photos. You can try changing the CAMVNet MAX_CNT parameter to 0 and testing again.

I am using px4 firmware v1.15.4 + Qgroundcontrol

Pixhawk 6x

here is the params file I used. → https://drive.google.com/file/d/1VR7QeqM5_U-OKnnYXks2CnUcAM-PSJtH/view?usp=sharing
I connected the RX/TX (gimbal port) of Siyi ZR10 at telem3 port.

Currently I built a python app for injecting GPS (lat, long, and alt) , Pitch, yaw and roll to images.
I noticed that when I capture images in siyi ZR10 the date is correct but the time is less than 8 hours in our time zone so I added in my app the automatically add 8 hours to all images.
so the images captured during survey mission can be used for photogrammetry (pix4d)

When I put siyi MT11 at same port ( telem 3) I get proper time and date to the images and theres gps too.

@JulianOes Hello sir,
is CAMVNet MAX_CNT parameter available in v1.15.4 of px4? I cant seem to find it when building the firmware thru boardconfig . in the ox4 documentation I cant see it too. default setup its not showing. I just confirmed that during mission + autocapture image it stop capturing image when it reach 256 images captured. Siyi recommended this CAMVNet MAX_CNT to be changed but cant find to enable it.

@SIYI_Support Hello I started testing MT11 siyi Unipod with same params used on ZR10. one Thing I notice is that the camera basic settings is not showing in qgroundcontrol. when I used ZR10 it displays camera buttons like capture image , zoom, etc. but in when I change the it from ZR10 to MT11 it only displays video. when I try mission with Auto-capture, the MT11 capture the images but no displaying of photo capture success. unlike in ZR10 where I can see it. Also MT11 have “SOMETIMES” proper time and date and also have geotagged in the images captures but in my last mission mode the MT11 images captured have dates of 1970-01-01 but it has geotagged correctly.
Current Problem :

ZR10 :

  • Correct Date but Time is in UTC ( I have made a small program to fix this )
  • After updating to latest firmware have greyed atleast 2 to 3 images out of 256 images captured (workable)

MT11 :

  • Sometimes Correct time and date but sometimes date is 1970-01-01 and 12am time (GPS count at that time is 31)
  • No Camera controls displaying in Qgroundcontrol (192.169.144.2:8554/video1)
  • No Greyscale in the images capture 210 images tested

in this video the UI of qgroundcontrol is not showing any indication that the MT11 is capturing image but we can see the live stream is like stuttering like it was capturing image. we confirm in the sd card that it has captured images.

in Siyi ZR10 it displays notification in the middle bottom “capture image success” every time it captured image. when it stop capturing image we can assume it reach 256 images captured.
in MT11 we cant say when the camera reached 256 images captured( which is a problem ).

thank you

  1. “I need to verify the CAMVNet MAX_CNT parameter again. Please disregard it.”

  2. “Regarding the time offset issue. When your ZR10 takes photos, it connects to the flight controller and fuses data, so the time should come from GPS time synchronization. May I ask which hemisphere your location is in? Since you mentioned that the MT11 works normally, I think it is related to the geographical location.”

  3. “The MT11 is a second‑generation gimbal, newly released. However, SIYI QGC has long ceased maintenance and updates. Therefore, they are incompatible.”

  4. “Thank you for your feedback. The gray issue when taking photos with the new firmware has been reduced, but it still exists.”

You can try UniGCS. This ground station software is independently developed by us and can be used for flight controller connection and parameter tuning, as well as for gimbal and camera parameter tuning.

Download link: https://siyi.biz/siyi_file/UniGCS/UniGCS%20Software%20User%20Manual%20(Android)%20EN%20v3.0.pdf

Regarding the issue of incorrect date and time recorded by the ZR10, is it that the time in the EXIF data is incorrect? Do you have any original photos with incorrect date and time? Please share them with me for problem analysis.

Hello again,

Here is a folder of ZR10 Raw Data
this images where untouched so no modififications where made here

It also includes a folder for Raw Images of MT11

As you can see. the Images of MT11 has proper Geotagging but the time is date is wrong.
In ZR10, Images have no Geotagging in its metadata. the time used is UTC 00 so during GPS injections I add +8 hours to all images then I used the ULG(pixhawk Logs) To match the GPS based on the time and date.

Note that, in this test I used only 1 drone. I just changed the camera. Params that was set on Px4 firmware in QGROUNDCONTROL was used in both Cameras thru Telem port 3 in the pixhawk 6c.