Open faicalcarvalho opened 3 years ago
Agent comment from William Wong in Zendesk ticket #37654:
Dear Client
Thank you for contacting DJI.
You don't need to use camera key. Just use setThermalTemperatureCallback. Check this link:https://developer.dji.com/api-reference/android-api/Components/Camera/DJICamera.html#djicamera_setthermaltemperaturecallback_inline
Hopefully our solution can help you. Kindly Regards, DJI Developer Support
Thank you very much for your response. Let me give you further information:
My product: Mavic 2 Enterprise Dual Camera (getDisplayName): Mavic 2 Enterprise Dual-Visual Firmware version: 01.01.0700 SDK Version: 4.13
The setThermalMeasurementMode function callback returns the error "Not supported", whether I use as argument SPOT_METERING or AREA_METERING. I presume this drone's camera is thermal. Why this function returns "Not supported"?
I was trying the KeyCamera alternative because I understand that it is the only way that allows me to specify (using index 2) the thermal camera.
Kind regards,
Faiçal F. Carvalho Decarva Software www.decarva.com.br (31) 99116-5350
Em ter., 4 de ago. de 2020 às 01:04, DJI notifications@github.com escreveu:
Agent comment from William Wong in Zendesk ticket #37654 https://djisdksupport.zendesk.com/agent/tickets/37654:
Dear Client Thank you for contacting DJI.
You don't need to use camera key. Just use setThermalTemperatureCallback. Check this link: https://developer.dji.com/api-reference/android-api/Components/Camera/DJICamera.html#djicamera_setthermaltemperaturecallback_inline
Hopefully our solution can help you. Kindly Regards, DJI Developer Support
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/579#issuecomment-668367227, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXJTODEWYMZ53BTQ5FTNFDR66CF7ANCNFSM4PTI57XQ .
Dear Client Thank you for contacting DJI.
If the camera returns you not support. It means the camera you get is not a thermal camera. For Mavic 2 Enterprise Fual you need to get camera index 1 to get thermal camera. I think the reason it returns you not support is because you are using camera index 1 which is the visual camera.
Hopefully our solution can help you. Kindly Regards, DJI Developer Support
I think you meant to say: “I think the reason it returns you not support is because you are using camera index 0 which is the visual camera.”?
From: DJI notifications@github.com Sent: Monday, October 19, 2020 12:38 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Error using CameraKey interface to set temperature callback (#579)
Dear Client Thank you for contacting DJI.
If the camera returns you not support. It means the camera you get is not a thermal camera. For Mavic 2 Enterprise Fual you need to get camera index 1 to get thermal camera. I think the reason it returns you not support is because you are using camera index 1 which is the visual camera.
Hopefully our solution can help you. Kindly Regards, DJI Developer Support
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/579#issuecomment-711769276 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHP4OAM7YSG2LKVRLCBRXDSLPUFPANCNFSM4PTI57XQ . https://github.com/notifications/beacon/ADHP4OH3OEY7CVWTXDCP4UTSLPUFPA5CNFSM4PTI57X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFJWLZPA.gif
I'm trying to set temperature callback and receive the error: "The value type is not correct". I'm using SDK version 4.13. Here's my code: