VR-Link is distributed with a number of examples.
These examples can be useful as test federates, or just starting points in for VR-Link development.
Simple examples showing how to connect to an exercise:
- Listen - A simple example that listens to an exercise. Listen prints out information about the first Entity it discovers.
- Talk - A simple example that publishes an object in an exercise. Talk publishes a stripped down F18 that flies in a straight line.
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.
Other Specific Functionality Examples:
- ListenC - Listen for the C language. Shows how to use VR-Link with C++ wrappers.
- Threading - A simple program to show VR-Link threading classes.
- 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.
Object Publisher Examples:
- DIS Examples
For debugging: