Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M30T thermal spot returns an error #17

Closed
eric-dk opened this issue Jul 14, 2022 · 2 comments
Closed

M30T thermal spot returns an error #17

eric-dk opened this issue Jul 14, 2022 · 2 comments
Assignees

Comments

@eric-dk
Copy link

eric-dk commented Jul 14, 2022

Steps-to-reproduce:
With the correct ComponentIndexType and CameraLensType.CAMERA_LENS_THERMAL use CameraKey.KeySpotMeteringTargetPoint.set(…) with IntPoint2D where x is 0…12 and y is 0…8.

Expected:
Camera updates thermal measuring spot.

Actual:

DJIError{errorCode='CORE_INVALID_PARAMETERS', innerCode='', description='null', hint='error code = -483'}

Notes:
The constraints are pulled from the FPV Interaction Widget. Interestingly, tapping on that in the Widget List crashes the sample application regardless of whether a drone is connected or not.

@DJI-William
Copy link

DJI-William commented Jul 15, 2022

CameraLensType.CAMERA_LENS_THERMAL is not corresponded with CameraKey.KeySpotMeteringTargetPoint. The KeySpotMeteringTargetPoint does not mean measuring thermal spot. You should use KeyThermalTemperatureMeasureMode first to set the thermal measurement mode to Spot and then call KeyThermalSpotMetersurePoint to measure the temperature at a specific spot.
image

@DJI-William DJI-William self-assigned this Jul 15, 2022
@eric-dk
Copy link
Author

eric-dk commented Jul 15, 2022

Doh! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants