DI-Guy SDK Documentation  13.1
5.6 - Database Coordinates and DI-Guy Networking

DI-Guy supports geocentric, UTM, and flat earth coordinate conversions.

DI-Guy works in database coordinates. When DI-Guy communicates with a simulation using DIS or HLA, the locations of entities are specified to the network in geodetic coordinates.

With DI-Guy, you will not need to deal directly with geodetic coordinates, but you need to know how to situate your database on the surface of the Earth.

By default, the origin of your database is placed at zero degrees longitude, zero degrees latitude and at sea-level, according to the WGS84 ellipsoid representation of the earth.

5.6.1 Setting the Exercise Location in DI-Guy

Use these function calls to situate the database from the API when called before going online:

Please see the net_send and net_recv programming examples for more information.

5.6.2 UTM Database Coordination Translation

For network transmission, database coordinates are translated into geodetic coordinates. This translation is not linear. Your database, which is taken as flat and rectangular, is curved to match the earth’s surface. The origin of the database is mapped to some location within a UTM zone. From this point:

  • Database X values correspond to relative easting.
  • Database Y values correspond to relative northing.
  • Database Z values correspond to relative altitude.

[<< Network Configuration Parameters for DI-Guy Scenario] [Home] [Top of Page] [Controlling DI-Guy Scenario Remotely Using Custom PDUs >>]