Skip to content

Command line options

Joost Ellerbroek edited this page Feb 11, 2022 · 5 revisions

BlueSky is run without command-line arguments as follows:

python3 BlueSky.py

When started this way, two processes are created:

  • One process containing the BlueSky server in combination with the gui
  • and one process with a single simulation node.

Additional arguments can be passed to BlueSky to initialise scenarios, or to start BlueSky in a different mode. The possible arguments are:

Argument Description
--help Display information on the possible command-line arguments to pass to BlueSky.
--headless Start simulation server only, without GUI. A server started in headless mode makes itself visible through UDP discovery. This way the server becomes visible to any BlueSky client that is started afterwards.
--client Start client only, which can connect to an already running server. Note that multiple clients can connect to the same server.
--sim Start only one simulation node.
--detached Start only one simulation node, without networking.
--discoverable Make simulation server discoverable. (Default in headless mode.)
--scenfile <file> Load scenario file on startup.
Clone this wiki locally