dji-sdk / Mobile-UXSDK-Android

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of Android applications using the DJI Mobile SDK.
Other
153 stars 110 forks source link

Access Gyroscope data while flying with DJI GO 4 - 在使用DJI GO 4 app / Go Fly 飛行時獲取飛行數據(姿態) (English & Chinese) #110

Open tongclement opened 3 years ago

tongclement commented 3 years ago

English text is followed by Chinese text that is translated manually, 下文中英對照: Dear DJI developers, 大疆團隊/使用者們您好,

I am a Secondary School student and I recently had the idea to develop a machine learning algorithm that analyses real time gyroscope data. 我是一位中學生,最近希望通過人工智能,分析無人機回傳的實時姿態.

However, after doing some research, I have learnt that it is impossible to access the MSDK while flying with DJI Go 4. 可是,很多人都在網上表示無法同時使用MSDK 和DJI GO 4.

Is this true? If so, are there any workarounds? All I need is the gyroscope data. I am looking to overlay my UI over the DJI Go 4 app for my customers without redeveloping my own version of the DJI GO 4 app. 請問事實是如此嗎? 如果是,又有什麼辦法呢? 我只需要直到飛機的姿態. 我計劃使用小視窗來展示我的APP所運算出來的結果.

Any advice is hugely appreciated. 先是感謝大家的幫忙.

Sincerely with many thanks, Clement

dji-dev commented 3 years ago

Agent comment from William Wong in Zendesk ticket #42154:

Dear Client Thank you for contacting DJI.

I am sorry to inform you that the drone cannot be used simultaneously with DJI GO 4 and MSDK app because there is only one device/app is allowed to connect with the drone and read the drone's data. You have to develop a brand new MSDK app similar to DJI GO 4 with flight control and data aquisition.

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

alainpimentel commented 3 years ago

@FalconBFR Great to hear you are looking into our SDKs. As mentioned above, you cannot overlay your UI on top of DJI Go 4. Now what you can do is take the UX SDK sample app and make changes to add your UI and use your algorithm. https://github.com/dji-sdk/Mobile-UXSDK-Android/tree/master/sample

Even better, you can use the open source version of UX SDK Beta, which has lots of wikis to get started https://github.com/dji-sdk/Mobile-UXSDK-Beta-Android/wiki/Sample-Application-Tutorial.