cooja icon indicating copy to clipboard operation
cooja copied to clipboard

Respect speed limit in csc file when headless

Open pjonsson opened this issue 2 years ago • 1 comments

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

pjonsson avatar Sep 01 '22 14:09 pjonsson

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.

nfi avatar Nov 23 '23 01:11 nfi