dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
972 stars 579 forks source link

undefined error when calling startTakeoff() dji mobile sdk #854

Open universe6666 opened 3 years ago

universe6666 commented 3 years ago

Hi DJI team,

I am using the mobile sdk android sample app and provided my developer app key in the build.

I am trying to use the sample app to control my Mavic Mini to take off by pressing the take off button in the virtual stick view.

But I am getting undefined error by doing so.

Please help!

Thanks

dji-dev commented 3 years ago

Agent comment from William Wong in Zendesk ticket #46775:

Dear Client Thank you for contacting DJI.

Have you pressed the start simulator and enable virtual stick? Although I think they don't influence the takeoff function, but just press start simulator and enable virtual stick before take off just in case.

Hopefully our solution can help you. Kindly Regards, DJI Developer Support

universe6666 commented 3 years ago

I was able to get the drone take off eventually after I used my DJI fly app to clear out the errors of the drones (i.e. re-calibration, acknowledging flying warnings, etc)