Payload-SDK icon indicating copy to clipboard operation
Payload-SDK copied to clipboard

Metering point functionality not working as expected.

Open AndreaSanchini opened this issue 3 months ago • 9 comments

Hi, as i mentioned in #293 I'm trying to set different settings to my H30 payload in order to get good image quality while inspecting wind turbines. I am using M350 with firmware 10.01.08.05 and H30 with 10.02.08.04 mounted on top of the drone, on PSDK 3.11.1 I've come across at another annoying issue concerning the metering point functionality.

I'd like to use spot metering mode through the PSDK to select the central point. I've checked the documentation at https://developer.dji.com/doc/payload-sdk-tutorial/en/basic-function/basic-camera-function.html#metering-mode, which looks coherent to the value (12, 8) that I get using the GetMeteringPointRegionRange function.

However if I try to tap manually on the RC to set the metering point and read them using the GetMeteringPoint function, I get very strange results. Here some findings:

  • tapping the center of the image on the remote -> with GetMeteringPoint I get (4,9)
  • tapping the center left of the image on the remote -> with GetMeteringPoint I get (10,8)
  • tapping the center bottom of the image on the remote -> with GetMeteringPoint I get (7,15)
  • tapping the center right of the image on the remote -> with GetMeteringPoint I get (9,9)
  • tapping the center up of the image on the remote -> with GetMeteringPoint I get (4,4)

As you can see the the values are completely off, and for the y coordinate, they are even out of the supposed range. Additionally, I can't set the metering point to the center of the image ((4,9) from the above experiment) cause the CameraSetMeteringPoint function returns an error when a value out of range (0-11, 0-7) is passed to the function.

Do you have any workaround available to set the metering point to the center of the image?

Thank you

AndreaSanchini avatar Aug 22 '25 10:08 AndreaSanchini

Agent comment from Leon in Zendesk ticket #154161:

Hello, I'm sorry for the inconvenience. This seems to be a bug. Does this situation require specific conditions to occur? Or is it a must-have?

°°°

dji-dev avatar Aug 25 '25 11:08 dji-dev

Hi, this seems to happen under all conditions. I also tried with a M300 with H20 payload and had the same results.

AndreaSanchini avatar Aug 26 '25 08:08 AndreaSanchini

Agent comment from Leon in Zendesk ticket #154161:

Hello, thank you for your supplement. We will retest the issue you described locally and confirm with the R&D team.

°°°

dji-dev avatar Aug 26 '25 10:08 dji-dev

Thank you, I'll wait for an update.

AndreaSanchini avatar Aug 26 '25 12:08 AndreaSanchini

Hi, just wanted to add that after upgrading H30 firmware to 10.04.04.03 the behavior has completely changed. Now the CameraGetMeteringPointalways returns (x=0, y=0) whatever point I tap on the screen. Additionally, the CameraSetMeteringPoint function does not seem to have any effect.

AndreaSanchini avatar Sep 03 '25 07:09 AndreaSanchini

Agent comment from Leon in Zendesk ticket #154161:

Hello, if you have upgraded the firmware version of the H30/T, you will need to upgrade the drone to the corresponding version as well. We have recommended firmware versions in the attached figure for your reference.
image.png

°°°

dji-dev avatar Sep 03 '25 09:09 dji-dev

Hi, thank you, I'm logged in but the link says I'm not authorized to see the file.

AndreaSanchini avatar Sep 03 '25 09:09 AndreaSanchini

Agent comment from Leon in Zendesk ticket #154161:

Hello, sorry, this might be a system issue. Please refer to: https://developer.dji.com/doc/payload-sdk-tutorial/en/model- instruction/choose-develop-platform.html

°°°

dji-dev avatar Sep 03 '25 10:09 dji-dev

Hi, do you have any update on this issue?

AndreaSanchini avatar Oct 14 '25 14:10 AndreaSanchini