2.2 Starting Webots
The first time you start Webots it will open the "Welcome to Webots!" menu with a list of possible starting points.
2.2.1 Linux
Open a terminal and type webots to launch Webots.
2.2.2 Mac OS X
Open the directory in which you installed the Webots package and double-click on the Webots icon.
2.2.3 Windows
From Windows Start menu, go to the Program Files > Cyberbotics menu and click on the Webots 7.0.2 menu item.
2.2.4 Command Line Arguments
Following command line options are available when starting Webots from a Terminal (Linux/Mac) or a Command Prompt (Windows):
SYNOPSIS: webots [options] [worldfile] |
The optional worldfile argument specifies the name of a .wbt file to open. If it is not specified, Webots attempts to open the most recently opened file.
The --minimize option is used to minimize (iconize) Webots window on startup. This also skips the splash screen and the eventual Welcome Dialog. This option can be used to avoid cluttering the screen with windows when automatically launching Webots from scripts. Note that Webots PRO does automatically enable the Fast mode when --minimize is specified.
The --mode=<mode> option can be used to start Webots in the specified execution mode. The four possible execution modes are: stop, realtime, run and fast; they correspond to the simulation control buttons of Webots' graphical user interface. This option overrides, but does not modify, the startup mode saved in Webots' preferences. For example, type webots --mode=stop filename.wbt to start Webots in stop mode. Note that run and fast modes are only available in Webots PRO.
The --stdout and --stderr options have the effect of redirecting Webots console output to the calling terminal or process. For example, this can be used to redirect the controllers output to a file or to pipe it to a shell command. --stdout redirects the stdout stream of the controllers, while --stderr redirects the stderr stream. Note that the stderr stream may also contain Webots error or warning messages.