Get thermal palette range for M30T

已完成

评论

4 条评论

  • Andrew Dittmer

    Also, when attempting to set the thermal palette, I get the error

    ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='CAMERA.ThermalPalette:-1', description='null', hint='error code = -1'}

    CameraKey.KeyCameraVideoStreamSource.create().set(CameraVideoStreamSourceType.INFRARED_CAMERA, onSuccess = {
    CameraKey.KeyThermalPalette.create().set(thermalPalette, onSuccess = {
    Log.d("Myclass", "Thermal Palette set to: $thermalPalette")
    }) {
    Log.e("MyClass", "Error setting thermal palette: $it.description()")
    }
    })
    0
    评论操作 固定链接
  • Dear Developer, Hello and thank you for reaching out to DJI Innovations. It seems that you haven't set the CameraLensType to CAMERA_LENS_THERMAL, which results in the camera lens not being supported. For the KeyThermalPaletteRange and KeyThermalPalette functions, there are two points to note. 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `INFRARED_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_THERMAL`. We hope that our solution meets your needs satisfactorily. We appreciate your email and wish you a wonderful day! Best Regards, DJI Innovations SDK Technical Support Team
    0
    评论操作 固定链接
  • Andrew Dittmer

    Thank you for your reply. I wasn't using 'KeyTools' to create a 'DJIKey' instance. But now when I use the KeyTools to create the DJIKey instance, the feature works. So, either there is a bug when using:

    CameraKey.KeyThermalPalette.create()

    Or, I think the documentation should be updated to say that we MUST use KeyTools to create the DJIKey instance.

    Thanks,
    Andrew.

    0
    评论操作 固定链接
  • Dear Developer, Hello and thank you for reaching out to DJI Innovations. I'm glad to know that your issue has been resolved. If you have any further questions, feel free to reach out again. Our documentation does need to be updated, and we appreciate your feedback. We appreciate your email and wish you a wonderful day! Best Regards, DJI Innovations SDK Technical Support Team
    0
    评论操作 固定链接

请先登录再写评论。