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

Respect speed limit in csc file when headless #417

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Sep 1, 2022

Switch the default behavior of Cooja to respect
the specified speed limit in headless mode.
The previous behavior is still available by
passing the ignore-speed-limit key-value pair
to -nogui:

-nogui=file.csc,ignore-speed-limit=true

Switch the default behavior of Cooja to respect
the specified speed limit in headless mode.
The previous behavior is still available by
passing the ignore-speed-limit key-value pair
to -nogui:

-nogui=file.csc,ignore-speed-limit=true
@nfi
Copy link
Member

nfi commented Nov 23, 2023

Instead of changing the default behavior for Cooja when running without GUI - what do you think about using the argument speed-limit to tell Cooja to respect the speed limit configured in the simulation file?

I think most would like Cooja to run with max speed when running headless unless there are specific reasons not to, for example, if the simulation communicates with external actors.

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.

2 participants