startMission() fails to execute due to connection timed out

Completed

Comments

6 comments

  • Robert Devenyi

    It starts the mission fine on the M300 Matrice RTK. It does not start the mission on the Mavic3E / 3T.

    0
    Comment actions Permalink
  • DJI Developer Support
    Is the error "Command timed out" always appearing on Mavic3E/3T? Could you provide us with the files you are using and a video of the operations you tested with the sample code? You can upload here:https://pan-sec.djicorp.com/s/PKGoDngETA8pHQ4 password:dji123
    0
    Comment actions Permalink
  • Robert Devenyi

    Yes it always appears on the Mavic3E/3T but never on the M300. The files that we are using are the sample code files from MSDK version 5.9.1, from this link: https://github.com/dji-sdk/Mobile-SDK-Android-V5/releases and the source code under 5.9.1. I don't want to upload all the hundreds of files. We tried it with MSDK version 5.9.2 and it didn't work either. So when I download the source files from https://github.com/dji-sdk/Mobile-SDK-Android-V5/releases V5.9.1, I don't do any modifications to the code. I open Android Studio and do: File > New > Import project and I choose the folder named: Mobile-SDK-Android-V5/SampleCode-V5/android-sdk-v5-as.

    Then, once the project loaded into Android Studio, I connect the DJI remote controller and run the code and the sample app appears on the DJI remote controller without issue. You can replicate these steps so far.

    Then, Navigate to Testing Tools > Waypoint.

    Then, I import a .kmz file, press the uploadkmz button and press the startMission button. These are the actions I take and I get the error 'Command timed out'. Only on Mavic 3E / 3T. I will also send you a video right below. Regarding the files, they are all here in this location: https://github.com/dji-sdk/Mobile-SDK-Android-V5/releases , choose V5.9.1 source code.

     

    0
    Comment actions Permalink
  • DJI Developer Support
    The video is our test result. The operation is the same as you described. There will be no issues with opening the mission in both versions 5.9.1 and 5.10.0. https://pan-sec.djicorp.com/s/7Pri2MAQKeJAHK4
    0
    Comment actions Permalink
  • Robert Devenyi

    I managed to replicate what you just did. The issue turned out to be that the kmz file that I was passing to the drone could not be parsed (for some unknown reason) by the Mavic. It was strange because the same kmz file worked just fine when I was using the DJI Pilot 2 app but it did not work with the MSDK sample app. After changing some things in my kmz generation, it seems that the issue is fixed. Thanks for your time and timely responses!

    0
    Comment actions Permalink
  • DJI Developer Support
    I'm glad to hear that your issue has been resolved.
    0
    Comment actions Permalink

Please sign in to leave a comment.