djiuser_uMVpSdBsdxNl
lvl.1
Turkey
Offline
|
Hi everyone,
I have a Mavic 2 Pro, and I’m trying to integrate DJI Mobile SDK v4 into my Android project. My goal is to automate flight execution so that, each time a trigger event occurs, the drone will take off, fly up to 100 meters away from the starting point, and return—all controlled from my custom Android app. However, I’m struggling to get the connection working.
Is a physical connection required? Does the Mavic 2 Pro need to be physically connected to the Android device for the SDK to recognize it? I’ve successfully registered the SDK, but I can’t establish a connection between my Android app and the drone. Running the GSDemo sample app returns “No Product Found.”
Initially, I attempted to test with a virtual drone simulator, but I found that DJI’s simulator is discontinued. I was able to fly the virtual drone, but my Android app couldn’t detect it as a connected product, so no connection was established. I also attempted to connect via DJI’s Windows simulator, but my Android app still didn’t recognize the drone as a product.
I’ve spent considerable time updating the sample SDK code, since many parts of it were outdated and deprecated. However, the connection part is still not working, regardless of whether I try it with a physical device or DJI’s Windows simulator.
Has anyone successfully done this before or encountered similar issues? I’d really appreciate any guidance on how to properly establish a connection between the Android SDK and the Mavic 2 Pro.
Thanks in advance for your help. |
|