You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
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
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.
Here is the code that produces the screenshot. It works about 40% of the time but usually I receive the timeout error.
I would appreciate any insight into this. The controller drivers are installed correctly.
The text was updated successfully, but these errors were encountered: