| Name | Description |
|---|---|
| path | Path to the executable to use for evaluating the task |
| arguments | Arguments to provide to the executable |
| working-directory | The working directory in which to execute the external process |
| mode | The mode in which to describe and receive the task
description. Can be either protobuf or
text. The protobuf mode will send protobuf
encoded messages, just as through the rest of the
framework. The text mode will send tasks
encoded in a simple text format. The default is
protobuf (optional) |
| environment | Comma separated list of key=value environment variables to set in the environment in which to execute webots (optional) |
| persistent | Optional argument indicating the TCP port number
to connect to to dispatch the task. You can use
this if starting the environment in which you
evaluate a task is expensive. If this is specified,
the executable will be started the first time, and
given the environment variable
OPTIMIZATION_EXTERNAL_PERSISTENT, which
contains the port number on which the external
process should listen for tasks. |
| startup-delay | Specifies the number of seconds after which a connection should be established when the persistent executable is first launched (only relevant for persistent mode, optional) |
Jesse van den Kieboom 2014-02-26