VR-Link is distributed with a number of examples.
These examples can be useful as test federates, or just starting points for VR-Link development.
Simple Examples Connecting to an Exercise
- Simple Talk/Listen - A simple example showing how to use VR-Link's API to publish an object to the network (Talk) and to subscribe and listen to updates from the Talk application via the Listen application.
More Complex Examples
- F18 - A complex F18 example that shows interactions and emitter systems in a full federate.
- Embark - A simple example which embarks a helicopter on an aircraft carrier.
Specific Functionality Examples
- ListenC - Listen for the C language. Shows how to use VR-Link with C++ wrappers.
- Articulated Parts - A simple function which manipulates Articulated Parts.
- Performance Measuring - A simple function which uses a high resolution timer to measure performance for some code.
- Link 16 Helper Classes - Functions that demonstrate how to use the Link 16 helper classes for Radio Transmitter and Signal classes.
- Replacing the dead-reckoner/smoother - Functions that demonstrate how to replace the dead-reckoner or smoother for reflected entities.
- Threading - A simple program to show VR-Link threading classes.
- Multithreading publishers - an example that creates multiple F18 entities and demonstrates how to parallelize the simulation.
- Data Interactions - a simple example that demonstrates how to use data interactions to encode and decode any arbitrary information.
- Launcher - a simple example that demonstrates how command-line/MTL parameters could be added to a VR-Link application.
Object Publisher Examples
DIS Examples
Tools For Debugging