-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DJI MSDK version 4.15 unable to connect to Mavic 2 Enterprise advanced #1106
Comments
Agent comment from DJI SDK in Zendesk ticket #60060: Dear developer, thank you for contacting DJI. °°° |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev i am using the default smart controller that came with the mavic 2 enterprise advance. |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev will we be able to choose which app to run ? |
Agent comment from yating.liao in Zendesk ticket #60060: Thank you for contacting DJI. Will we be able to choose which app to run ? When the pop-up window for how to use the USB appears, you just select charging. Hopefully our solution can help you. Kindly Regards, DJI Developer Support °°° |
@dji-dev in event of crash, is there a way to reset the controller software ? |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev ok thank you. Another question is about ActiveTrackMission. For M300 aircraft. Understand that there is no access in MSDK for the "Smart pin and track". Is there access for DJI OSDK on Manifold 2 for that ? Also, there is a activeTrack here https://github.com/DJI-Mobile-SDK-Tutorials/Android-Phantom4Missions also by DJI. Can this be used for Mavic 2 Enterprise advance, M210 and M300 ? |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev I see. Thank you. May I also know how to modify the basic view layouts ? |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev yes i am referring to the MSDK sample for example:
and
These seem to be custom view layouts created by DJI. I would like to add additional text box, and text entry fields. But i get error |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
Thank you @dji-dev i will study the code and come back with question. I have another question about DJI gimbal movement from this article https://developer.dji.com/onboard-sdk/documentation/tutorial/advanced-sensing.html. May I know how did this value/calculation come out ? For mapping 10 pixels to 1 degree, i am interested in the math |
Agent comment from kyle.cai in Zendesk ticket #60060: Thank you for contacting DJI. The document you are viewing is an algorithm used by OSDK to track the target, marking the target movement by 10 pixels, and then setting the gimbal to rotate. This value can also be adjusted. Thank you for your understanding and support, hope you have a nice day. Best Regards, °°° |
@dji-dev yep I understand that it can be adjusted. Is the 10 pixel to 1 degree ratio a recommended value ? And for different image size ? |
Agent comment from kyle.cai in Zendesk ticket #60060: Thank you for contacting DJI. Target tracking is to select the target (ROI) and calculate the offset of the ROI to rotate the gimbal, The offset of the ROI is not directly related to the resolution(720p or 1080p), you can set 5, 10 or other, just start to rotate the gimbal. The gimbal in the OSDK sample is continuously rotating, which is equivalent to 1 deg/s, not 1 deg. Whether the gimbal position is appropriate can be compared by image algorithm. Thank you for your understanding and support, hope you have a nice day. Best Regards, °°° |
@dji-dev ok understand. Thank you ! |
@dji-dev hello. I am unable to deploy my app to the smart controller for mavic 2. I have already enabled MTP file transfer, and also USB debugging on the smart controller. |
You might be using the incorrect USB configuration, it sounds like you are changing the setting under debug, that’s not the correct setting. From the app screen, drag down from the top to expose the settings menu, on the far right you will see “USB”, open that and select the top item (Charge). Once selected, and when connected to the PC you will see Android Studio connect. No special cable needed.
From: ykn96 ***@***.***>
Sent: Monday, February 21, 2022 9:25 PM
To: dji-sdk/Mobile-SDK-Android ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [dji-sdk/Mobile-SDK-Android] DJI MSDK version 4.15 unable to connect to Mavic 2 Enterprise advanced (Issue #1106)
@dji-dev <https://github.com/dji-dev> hello. I am unable to deploy my app to the smart controller for mavic 2.
From my android studio,
<https://user-images.githubusercontent.com/93758179/155068281-5e55a7c5-3974-4d4a-a21b-fd40c24b30c4.png>
I have already enabled MTP file transfer, and also USB debugging on the smart controller.
I have also made sure to use a data cable for the USB C.
Could you advise ?
—
Reply to this email directly, view it on GitHub <#1106 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADHP4OB656LENJVQS3Q2WT3U4MMY5ANCNFSM5N4RPRHA> .
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/ADHP4OHWDU4LCPULN2PQJC3U4MMY5A5CNFSM5N4RPRHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHZXJ7FA.gif> Message ID: ***@***.*** ***@***.***> >
|
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev i am actually trying to install it to the mavic 2 controller, the one with a built-in screen. I was trying to install it to the controller internally as you had previously mentioned. What does AS, and RNDIS mean ? @kenargo from what i understand about installing android apps via android studio, the android device must have 1) USB debugging enabled, and 2) MTP protocol (i.e. if you set it to charge only, you cannot install the app) |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
Hi @dji-dev I see this on my smart controller screen. Is this the correct configuration ? |
No. That looks like the developer settings.
Drag down from the top, of the home screen, up will see a little USB icon, you touch that and choose the top option.
Get BlueMail for Android
On Feb 27, 2022, 11:17 PM, at 11:17 PM, ykn96 ***@***.***> wrote:
Hi @dji-dev I see this on my smart controller screen.
![IMG_20220222_131958](https://user-images.githubusercontent.com/93758179/155940274-c89608c9-170c-41d4-9028-19a991eda4e9.jpg)
Is this the correct configuration ?
--
Reply to this email directly or view it on GitHub:
#1106 (comment)
You are receiving this because you were mentioned.
Message ID:
***@***.***>
|
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev hello i am encoutnering this problem instead I also get this error
Do you know the cause ? |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
Hi @dji-dev i am using the data cable. Also, I realise i can install the app when i run android studio from windows. However, I face the described problem when using android studio on Ubuntu. |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev yep i have tried using the android studio with normal android phone. It is able to recognise and install. However, it cannot recognise the rm500 |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
@dji-dev alright noted. May I know if there are specal things to take note ? since it is a custom system |
Agent comment from yating.liao in Zendesk ticket #60060: °°° |
I am trying to connect to my Mavic 2 Enterprise advanced using the sample app generated by the MSDK.
However, the status on the entry screen is:
" No product Connected"
"Product information"
"Firmware version: N/A"
The APP registration has been done successfully. It is able to connect to DJI Spark, and DJI M210 RTK V2.
May I know if there is a problem specific for Mavic 2 Enterprise advance ?
The text was updated successfully, but these errors were encountered: