![]() |
VR-Forces Developer's Guide
|
The Back-End Remote Control example demonstrates the following:
This example demonstrates how to use the remote control API for controlling a VR-Forces back-end. It is a standalone console application that enables users to create/manipulate VR-Forces scenarios through a simple text interface.
This example now includes simple usage of the DtRemoteEnvironmentController.
To run the application:
Start the remoteControl application as "remoteControlDIS.exe" with the sane 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 backend command line arguments from the Launcher UI. If using the HLA protocol, you do not theed 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.
| DtRemoteControlInitializer | This subclass of DtVrlApplicationInitializer adds command line options for the HLA version of the example. |
| DtTextInterface | This class allows the user to type in commands that will be parsed and used to supply information to the remote controller. |