![]() |
VR-Forces Developer's Guide
|
The Sim Engine Remote Control example demonstrates the following:
This example demonstrates how to use the remote control API for controlling a VR-Forces sim engine. It is a standalone console application that enables users to create/manipulate VR-Forces scenarios through a simple command line interface.
This example now includes simple usage of the DtRemoteEnvironmentController.
To run the application:
Start the remoteControl application as "remoteControlDIS.exe" with the same command line arguments used to start vrfSimDIS, with the exception of appNumber. The appNumber for each application should always be different.
Note: You need to supply the same set of command line arguments as the ones required to run the vrfSimDIS.exe. The necessary command line arguments for the remoteControlDIS.exe - can be copied from the sim engine command line arguments from the Launcher UI. If using the HLA protocol, you do not need the –hostAddressString –appNumber –siteId –sessionId command line arguments
Enter commands in the remoteControl console as desired, to create and task entities.
Note that location and point parameters should be entered using the geocentric coordinate system. Example inputs located in the source code are built for the Ala Moana.mtf terrain.
| DtRemoteControlInitializer | This subclass of DtVrlApplicationInitializer adds command line options for the HLA version of the example. |
| DtCommandLineRemoteController | This class allows the user to type in commands that will be parsed and used to supply information to the remote controller. |