Logger Features

The Logger records network activity of HLA exercises and plays them back for review.

Note: The HLA counterpart to a DIS exercise is a federation execution. For simplicity, we use the term exercise to represent both.

Logger performs recording and playback while acting as a separate federate. In record mode, by default, it subscribes to all objects, attributes, and interactions in the RPR FOM, and records updates, interactions, and object removals that it perceives through the RTI. It records values for all published attributes of an object by requesting attribute updates as it discovers each new object.

In playback mode, Logger acts as a federate that owns each of the objects for which updates appear in the file. The Logger sends interactions and updates only for classes that other federates are subscribed to. The Logger serves as a proxy simulator, answering requests for attribute updates and making objectRemove RTI calls when it encounters removals in the recorded file. In addition, velocities, accelerations, and angular velocities are scaled in outgoing messages when the Logger’s time scale is not equal to zero.

If possible, the Logger uses the same object names as those used in the original simulation. If this is not possible, for example, if another federate is using the name, the Logger lets the RTI assign a name for the object in question.

Logger Interfaces

The Logger has the following interfaces:

  • A graphical user interface (GUI)
  • A text-based interface
  • A remote control interface

These interfaces have nearly identical capabilities. (Some features are only available through the GUI; others through the Logger API.) Common features include:

  • Start, stop, or pause when playing a file.
  • Navigate to a specific time-point when playing a file.
  • Control playback speed and direction.
  • Load a specific file for playback.

You can use all the interfaces at the same time.

Filtering

You can filter the messages that the Logger records and sends to reduce network traffic or focus on a particular set of objects or interactions. In HLA, you can specify which classes you want to subscribe to. For details, please see Chapter 30 “Filtering Input and Output” on page 435.

Annotations

You can annotate Logger files. Point annotations identify a specific time in a file. Range annotations identify a segment of a file. You can easily zoom the display to a range annotation and can bind the playback segment to a range annotation. For details, please see Chapter 29 “Annotating Files” on page 425.

Editing

The Logger lets you easily edit Logger files. It supports the following types of edits:

  • Merge files
  • Concatenate files
  • Clear or delete a segment of a file
  • Trim dead space at the beginning of a file
  • Offset the timestamps of the packets in a file.

For details, please see Chapter 31 “Editing Multi-Federate Logger for 3DNV Files” on page 443.

Data Export

The Logger can export data to the following formats:

  • Text
  • Logger file
  • MySQL database using ODBC driver
  • Microsoft Access database using ODBC driver.

For details, please see Chapter 32 “Exporting Multi-Federate Logger for 3DNV Data” on page 449.

Sample Logger Files

The Logger includes several sample files, including:

  • berkeleyDemo. HLA 1.3, RPR FOM 1.0. An exercise with ground vehicles, rotary-wing entities, fixed-wing entities, dismounted infantry, and a surface vessel (LCAC). This file uses the Berkeley database that is distributed with 3D Network Visualizer.
  • maklanddemo. HLA 1.3 and 1516, RPR FOM 1.0. A complex scenario with land, air, surface, and sub-surface entities. These files use the Makland database, which is distributed with 3D Network Visualizer.
  • embarkdemo. HLA 1.3, RPR FOM 2.0, draft 17. A complex scenario with land, air, and surface entities. It displays entities embarking and disembarking from parent entities. This file uses the Makland database.
  • VR-Village-CarBombDemo. HLA 1.3, RPR FOM 2.0, draft 17. A scenario with land and air entities. It shows civilian, dismounted infantry, and enemy combatants in an urban environment. It uses the VR-Village terrain, a fantasy terrain created by MÄK, which is distributed with 3D Network Visualizer.
  • VR-TheWorld_FirstExperience. HLA 1.3, RPR FOM 1.0. This recording is for use with VR-TheWorld First Experience Guide.

Note: Most of these files contain View Control messages, which cause 3D Network Visualizer to follow the action automatically, switching among many predetermined viewpoints. For information about manually controlling the eyepoint in this demo, please see Chapter 15 “Moving the Observer” on page 221.

Sample Programs

The Logger includes the following example programs:

  • Example plug-ins — stateObserver displays a graph of object statistics. lgrDump prints details of each packet to the console. sampleFilter shows how to filter out selected packets.
  • A remote control application — lgrControl. Compiled versions of the example are provided in the ./bin directories.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com