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

SITL: log number of times sim paused on serial0 buffer #27273

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

peterbarker
Copy link
Contributor

SITL pauses the simulation if we do not have a minimum amount of space in its out queue.

Log the number of times we do this.

Fora run of the AutoTuneSwitch test:

image

...shows we drop a packet at the start before we bring up the mavlink connection from autotest. I think. SIM_SPEEDUP was the default 100.

I've also tested ctrl-z on the terminal running autotest, and the sim starts complaining a lot:

image

@peterbarker
Copy link
Contributor Author

Interesting graph zooming in on that ctrl-z test:
image

@peterbarker peterbarker force-pushed the pr/log-times-full branch 2 times, most recently from 6a58cf5 to 7a6ac5a Compare June 8, 2024 23:01
SITL pauses the simulation if we do not have a minimum amount of space in its out queue.

Log the number of times we do this.
SITL pauses the simulation if we do not have a minimum amount of space in its out queue.

Log the number of times we do this.
@tridge tridge merged commit 6751bce into ArduPilot:master Jun 10, 2024
92 checks passed
@peterbarker peterbarker deleted the pr/log-times-full branch June 11, 2024 23:34
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

Successfully merging this pull request may close these issues.

3 participants