Skip to content
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

Connection state is usually "unknown" #56

Open
rwhall1 opened this issue Jul 2, 2020 · 1 comment
Open

Connection state is usually "unknown" #56

rwhall1 opened this issue Jul 2, 2020 · 1 comment

Comments

@rwhall1
Copy link

rwhall1 commented Jul 2, 2020

I've got the sample application running in Visual Studio. I've got a Mavic Air. I'll connect the PC to the Mavic Air via wifi. Most of the time, the connection state is "UNKNOWN":
DJISDKManager.Instance.WaypointMissionManager.GetWaypointMissionHandler(0).GetCurrentState();

When I get an UNKNOWN connection state, is there something I can do to make sure that the app is connected to the drone?

@dji-dev
Copy link
Contributor

dji-dev commented Jul 3, 2020

Agent comment from William Wong in Zendesk ticket #36495:

Dear Client
Thank you for contacting DJI.

By checking "var res = await DJISDKManager.Instance.ComponentManager.GetFlightControllerHandler(0, 0).GetAircraftNameAsync();", you can check if you can get the name to esnsure the drone connection. This feature is also implemented in the sample. Also, to use waypoint mission, you have to make sure the GPS signal is good. In addition, the WSDK is stop servicing and updating, we suggest you switch to MSDK to develop.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants