Skip to content

Metering point functionality not working as expected. #295

@AndreaSanchini

Description

@AndreaSanchini

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions