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

uas: In AC4.0.0 or later, automatic flight plan display, update, writing, and reading are not completed. #1209

Open
muramura opened this issue May 16, 2020 · 6 comments

Comments

@muramura
Copy link
Contributor

I used a master containing #1207 to check the automatic flight plan reading from the AC4.0.0 release version.
At startup, T YPE is set to an indefinite value for list acquisition and WP acquisition, so it is not displayed.

スクリーンショット 2020-05-16 18 36 28

スクリーンショット 2020-05-16 18 36 38

I was able to show it at startup by making the same fix as #1207.

スクリーンショット 2020-05-16 19 04 04

===
However, when the WP becomes too much, a timeout occurs and the game is finished in the middle.
So, by increasing the timeout time and the number of retries, we received all the WPs.

What should I do about this time and frequency value?
#define PROTOCOL_TIMEOUT_MS 180000 //2000 ///< maximum time to wait for pending messages until timeout
#define PROTOCOL_MAX_RETRIES 90 // 5 ///< maximum number of send retries (after timeout)

@Arne-W
Copy link
Contributor

Arne-W commented May 16, 2020

I will try to reproduce this issue tomorrow - but I think a timeout of 2 seconds and a retry of 5 should be enough. You are using macOS 10.15.4 aren't you? I am pretty sure this problem relies on the macOS version - 10.15.4 is known to have a lot of network problems.
If you have a Mac which has an older macOS version - at least 10.15.3 - it would be cool if you could try to reproduce the problem. If not we should wait until the next macOS release.

@Arne-W
Copy link
Contributor

Arne-W commented May 17, 2020

I was not able to reproduce this issue with 32 waypoints. Writing and fetching works without any problems. It seems the problem is related to macOS 10.15.4.

@Arne-W
Copy link
Contributor

Arne-W commented Jun 6, 2020

@muramura we have a new release candidate for macOS. Perhaps you want to test it 😃
You can find it here: https://github.com/ArduPilot/apm_planner/releases/tag/2.0.28-rc1

@billbonney
Copy link
Member

billbonney commented Jun 6, 2020

10.15.4 is known to have a lot of network problems

I haven’t experienced any network issues on macOS. Or is this related to Qt 5.9.3?

@Arne-W
Copy link
Contributor

Arne-W commented Jun 7, 2020

I work for a company which produces cameras for industrial purpose. Among several special frame grabber interfaces we produce GigE and USB cameras.
Since the update to 10.15.4 a lot of customers have heavy issues when using GigE cameras especially with timeout handling and packet loss. We still hope that those issues are fixed with the next update.

@Arne-W
Copy link
Contributor

Arne-W commented Feb 21, 2021

Does this problem still exist? Otherwise I will close this issue in the next days

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

3 participants