Metering point functionality not working as expected.
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
GetMeteringPointI get (4,9) - tapping the center left of the image on the remote -> with
GetMeteringPointI get (10,8) - tapping the center bottom of the image on the remote -> with
GetMeteringPointI get (7,15) - tapping the center right of the image on the remote -> with
GetMeteringPointI get (9,9) - tapping the center up of the image on the remote -> with
GetMeteringPointI 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
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?
°°°
Hi, this seems to happen under all conditions. I also tried with a M300 with H20 payload and had the same results.
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.
°°°
Thank you, I'll wait for an update.
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.
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
°°°
Hi, thank you, I'm logged in but the link says I'm not authorized to see the file.
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
°°°
Hi, do you have any update on this issue?