CERTI comes with two main executables: RTIA and RTIG.
If ones want to properly execute an HLA simulation using CERTI one must: (FIXME more detail to come).
CERTI uses a set of environment variables which may influence its execution behavior.
Variable | Used by | Description |
CERTI_HOME | RTIG | the CERTI installation base directory. This is used by the RTIG in order to look for FOM files (see RTIG). |
CERTI_HOST | RTIA | machine on which RTIG is running. As soon as it starts the RTIA will try to connect to the RTIG running on CERTI_HOST (see RTIA). |
CERTI_TCP_PORT | RTIG, RTIA | TCP port used for RTIA/RTIG communications |
CERTI_UDP_PORT | RTIG, RTIA | UDP port used for RTIA/RTIG communications |
CERTI_HTTP_PROXY | RTIA | HTTP proxy address in the format http://host:port. See HTTP tunneling. |
http_proxy | RTIA | System-wide HTTP proxy address used if CERTI_HTTP_PROXY is not defined. |
CERTI_NO_STATISTICS | RTIA | if set, do not display service calls statistics |
The CERTI RunTime Infrastructure Gateway (RTIG) is a process which coordinate the HLA simulation with CERTI, there should be at least one rtig process for each federation. However a single RTIG may be used for several federations. The command line usage of the RTIG is following:
Once the RTIG is launched an HLA Federate may interact with the RTI. In fact a federate does not talk to the RTIG directly but it uses its RTIA. RTIG is listening to RTIA connection on TCP port:
The RTIG exchange messages with the RTIA in order to satify HLA request coming from the Federate. In particular RTIG is responsible for giving to the Federate (through its RTIA) the FOM file needed to create or join the federation. RTIG tries to open FOM file from different predefined places:.
The CERTI RunTime Infrastructure Ambassador (RTIA) is a process which is automatically launched by the federate as soon as its RTIambassador is created. The command line usage of the RTIA is following:
Open a windows command prompt and run the RTIG.
rtig
Open another windows command prompt and run the billard program.
billiard -n 1 fTest FTest.fed
1.6.1