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

Frequent Request_Timeout Errors with Mavic 2 Pro #54

Open
carter-james89 opened this issue May 6, 2020 · 1 comment
Open

Frequent Request_Timeout Errors with Mavic 2 Pro #54

carter-james89 opened this issue May 6, 2020 · 1 comment

Comments

@carter-james89
Copy link

carter-james89 commented May 6, 2020

Since switching from the WiFi connection on my Mavic Air to the Ocusync 2.0 on my Mavic 2 Pro I frequently get Request_Timeout errors across a variety of API calls which never gave me problems with Mavic Air.

Annotation 2020-05-06 131619

Here is the code that produces the screenshot. It works about 40% of the time but usually I receive the timeout error.

System.Diagnostics.Debug.WriteLine("Set Height Limit");
                            SDKError error;
                            var intMSG = new IntMsg();
                            intMSG.value = (int)50;
                            error = await DJISDKManager.Instance.ComponentManager.GetFlightControllerHandler(0, 0).SetHeightLimitAsync(intMSG);
                            System.Diagnostics.Debug.WriteLine(error);
              
                            System.Diagnostics.Debug.WriteLine("Set return home Limit");
                            intMSG = new IntMsg();
                            intMSG.value = (int)40;
                            error = await flightController.SetGoHomeHeightAsync(intMSG);
                            System.Diagnostics.Debug.WriteLine(error);
                           
                            System.Diagnostics.Debug.WriteLine("Set distance Limit");
                            intMSG = new IntMsg();
                            intMSG.value = 100;
                            error = await flightController.SetDistanceLimitAsync(intMSG);
                            System.Diagnostics.Debug.WriteLine(error);

I would appreciate any insight into this. The controller drivers are installed correctly.

@dji-dev
Copy link
Contributor

dji-dev commented May 7, 2020

Agent comment from William Wong in Zendesk ticket #34245:

Dear Client
Thank you for contacting DJI.

It means that your Mavic 2 Pro never has a connection to PC. We can see that you can't even read the aircraft name. Please ensure the cable connection. Maybe change a USB cable and try? Please show us the device manager list screen shot to me when you connect the RC. We can check if your driver is installed properly.

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