Mobile-SDK-iOS icon indicating copy to clipboard operation
Mobile-SDK-iOS copied to clipboard

Matrice 300 RTK - DJILens getHybridZoomSpecWithCompletion returns error

Open edupazpix4d opened this issue 4 years ago • 5 comments

Drone: DJI Matrice 300 RTK. Camera: Zenmuse H20T. Mobile SDK: 4.14-trial1.

Error: DJISDKErrorDomain: "Getting parameters operation failed.(code:-1006)"

edupazpix4d avatar Dec 23 '20 09:12 edupazpix4d

Agent comment from Luce Luo in Zendesk ticket #42414:

Dear Customer,

Thank you for contacting DJI. Have you fetched the zoom lens first? Can you please show me your code snippet?

Thanks,

Luce Luo DJI Developer Support

dji-dev avatar Dec 24 '20 09:12 dji-dev

@dji-dev Of course I fetched the zoom lens first.

if(self.djiCamera.isMultiLensCameraSupported) {
        for( int i=0; i < [self.djiCamera.lenses count]; ++i) {
            DJILens *lens = self.djiCamera.lenses[i];
            if (lens.lensType == DJILensTypeZoom) {

edupazpix4d avatar Dec 25 '20 09:12 edupazpix4d

Agent comment from Luce Luo in Zendesk ticket #42414:

Dear Customer,

Thank you for contacting DJI. That's so weird. Please follow the below steps to check first: -Check and ensure your drone, RC, H20T in the latest firmware. -Then switch the current view to Zoom view via the setCameraVideoStreamSource and assignSource methods. -Last, test the getHybridZoomSpecWithCompletion method again.

If the problem persists, please contact us again to investigate further.

Thanks,

Luce Luo DJI Developer Support

dji-dev avatar Dec 25 '20 10:12 dji-dev

Dear @dji-dev .

  • Latest firmware installed and all steps were done exactly as you said, and same result.

Regards.

edupazpix4d avatar Dec 25 '20 20:12 edupazpix4d

Agent comment from Luce Luo in Zendesk ticket #42414:

Dear Customer,

Thank you for contacting DJI. Ok, please contact us again via the form, and will handle it soon. https://formcrafts.com/a/dji-developer-feedback-en

Thanks,

Luce Luo DJI Developer Support

dji-dev avatar Dec 28 '20 08:12 dji-dev