dji-sdk / Mobile-SDK-Android

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

sendDataToOnboardSDKDevice process execution always times out for Matrice 100 #289

Open ybabs opened 6 years ago

ybabs commented 6 years ago

I have an app which I'm using to send waypoints to the Matrice 100 using the onboard SDK. My current issue is that anytime I create a mission of more than 10 waypoints, I get an "Execution of this process has timed out" error. I'm using the Onboard ROS SDK on the Matrice and upon inspection, I see the Matrice doesn't receive all data sent to it. A quick test I ran earlier to test the number of waypoints being actually received showed the following:

waypoints

Each test was run from a restart of both the drone and the mobie device I was using. Could someone on the Dev team please help with this?

DJI Android SDK version : 4.5 or 4.4.1

DJI Product: Matrice 100

Android system version: Android 6.0.1

Android device: Nexus 7

Android Studio version: Android 3.0.1

wenqianqiao commented 6 years ago

I am not quite sure how you do " I'm using to send waypoints to the Matrice 100 using the onboard SDK" with the Mobile SDK. Is that kind of the way you use the sendDataToOnboardSDK? I think you could get some tutorial on the link : https://developer.dji.com/onboard-sdk/documentation/guides/component-guide-mobile-communication.html

on how to send DataToOnboard SDK.

ybabs commented 6 years ago

Hi, think of it like I'm just continuously sending bytes of data instead of waypoints. The SendDatatoOnboardSDKDevice function simply times out with the error I mentioned. I've looked at the link you've sent me and it doesn't really shed any light on what I'm trying to do.

Kind regards, Daniel

On Mon, 7 May 2018, 09:43 wenqianqiao, notifications@github.com wrote:

I am not quite sure how you do " I'm using to send waypoints to the Matrice 100 using the onboard SDK" with the Mobile SDK. Is that kind of the way you use the sendDataToOnboardSDK? I think you could get some tutorial on the link :

https://developer.dji.com/onboard-sdk/documentation/guides/component-guide-mobile-communication.html

on how to send DataToOnboard SDK.

— 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/289#issuecomment-386999509, or mute the thread https://github.com/notifications/unsubscribe-auth/AcRPpyUM6hvVPJHDY0fq3hPw7X9A5v3Sks5twAkVgaJpZM4Tyw7j .

ybabs commented 6 years ago

@wenqianqiao this is the repo in question. You want to look at the following file