Preliminary Changes for CIGI Version 3.0 Rob Lechner ([email protected]) The Boeing Company -...

31
Preliminary Changes for CIGI Version 3.0 Rob Lechner ([email protected]) The Boeing Company - Training Systems and Services - June 2003-
  • date post

    15-Jan-2016
  • Category

    Documents

  • view

    217
  • download

    0

Transcript of Preliminary Changes for CIGI Version 3.0 Rob Lechner ([email protected]) The Boeing Company -...

Page 1: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

Preliminary Changes for CIGI Version 3.0

Rob Lechner([email protected])

The Boeing Company - Training Systems and Services

- June 2003-

Rob Lechner([email protected])

The Boeing Company - Training Systems and Services

- June 2003-

Page 2: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

2

CIGI, What Is It?

• Communication protocol for host-to-image generator interface control definition.

• Provides a high level of abstraction, simple to use.• Plug-and-play type interface.• API provided to remove error-prone data packaging.• Released open-source, non-proprietary under a GNU Lesser

General Public License.

Host Simulation

CIGI SDK

CIGI API

CIGI

IG Run-Time

CIGI SDK

CIGI API

CIGICIGI Messages

Data & Synchronization

Page 3: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

3

Availability• All data and documentation are available on http://cigi.

sourceforge.net/– includes ICD, API, and SDK

– on-line forum for help, bug tracking, and distribution list

• ICD contains complete definition of all data packets

• ANSI C design tested on W2K, Linux, IRIX, AIX UNIX, VxWorks, and Solaris.

• CIGI Host emulator test tool with scripting interface available.

Page 4: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

4

CIGI 3.0 Highlights• Improved documentation

– More detail on coordinate systems and special effects– Database load sequencing

• Interface support for byte-ordering• Changing fixed-point number to floats• Improving asynchronous operation• Entity ground clamp support• Multiple motion tracker support• Orthographic projection• Increased view count• Collision volume rotations• Splitting weather control into layered and regional• Polygon normal response to LOS/HAT/HOT• Date/time valid flags in Celestial Packet• Animation complete response• Ability to query IG for positional information

Point P

Semi Major Axis

Sem

i Min

or A

xis

Prime Meridian

Equator

latitude

longitude

altitude

Pole

N

Page 5: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

5

CIGI 3 Highlights• Under Design

– Variable-type fields in Component Control packet– Coordinate System Definition packet– Planetary Model Layering

• Celestial Control• Atmosphere Control• Surface Condition Control• Subterrain/Subaquatic Control

– Earth Reference Model Definition– Lightpoint Definition/Control packets

• Investigating– Entity Definition packet– Volumetric primitive control – awaiting input from 3DPipeline– Skinned object control – awaiting input from 3DPipeline– Sensor multi-target tracks – advanced sensor targeting

Page 6: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

6

IG Control• Added “Magic Number” field so IG can determine

whether byte swapping is necessary

• Improved support for asynchronous operation– Changed single-precision floating point time tag to 32-bit integer– Changed time tag units from 1-µs to 10-µs to provide a simulation

time of almost 24 hours before a rollover occurs

215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8000h No Swap

0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 80h Swap

215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 80h Swap

0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 8000h No Swap

Big-Endian Receiver

Little-Endian Receiver

Page 7: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

7

Entity Control• Changed entity animation states

– Stop

– Play

– Pause

– Continue

• Added animation loop flag• Inherit Opacity flag• Ground Clamp flag

– Altitude

– Altitude with Pitch and Roll

Page 8: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

8

Component Control• One 8-bit discrete component state• Three 32-bit user-defined data fields

Page 9: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

9

Celestial Sphere Control• Moved date/time to this packet

– Better applicability to ephemeris model

• Added Starfield intensity

Page 10: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

10

Atmosphere Control• General atmospherics enable flag• Global Atmosphere control

Page 11: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

11

Layered Weather Control• Changed Weather Control packet to

Layered Weather Control packet.– Removed Entity ID to make packet

applicable only to global weather layers

• Adding Regional Weather Control packet (requires more research)

Elevation

Mean Sea Level

Thickness

Transition Band

Transition Band

Page 12: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

12

Motion Tracker Control• Enable/Disable Device• Mulitple Trackers • Boresight• View/View Group assignment

Page 13: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

13

Earth Reference Model Definition

• Default ERM is WGS 84• New ERM defined by specifying Equatorial

Radius and Inverse Flattening

Page 14: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

14

Light Point Definition• State (On/Off)• Type (Raster, Calligraphic)• Visibility (Day, Dusk, Night)• Front/Back Color• Front/Back Intensity• Min/Max/Actual Size• Animation Properties (flash, rotation, etc.)• Directionality (Omni-/Uni-/Bi-directional)• Lobe Angle, Intensity, Falloff• Fog Punch-Through Enable• Fading Enable• Range Mode (Z-Depth/Slant Range)

Page 15: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

15

Position Request• Specify class of object

– Entity

– Articulated Part

– View

– View Group

– Motion Tracking Device

• Specify coordinate system– World (Geodetic)

– Entity Local NED

– Submodel

Page 16: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

16

Start of Frame• Added “Magic Number” so Host can determine whether

byte swapping is necessary

• Flag indicates whether WGS 84 or other ERM is being used

• Improved support for asynchronous operation– Changed single-precision floating point time tag to 32-bit integer

– Changed time tag units from 1-µs to 10-µs to provide a simulation time of almost 24 hours before a rollover occurs

Page 17: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

17

HAT/HOT Response• Two Packets:

– Basic• Height

– Extended• Height

• Material Code

• Normal Vector Azimuth and Elevation

Page 18: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

18

LOS Response• Two Packets:

– Basic• Altitude

• Latitude

• Longitude

– Extended• Altitude,

• Latitude

• Longitude

• Material Code

• Azimuth

• Elevation

Page 19: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

19

Collision Detection Segment Response

• Intersection point defined as distance from an endpoint along test vector

Page 20: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

20

Sensor Response• Two Packets:

– Sensor Tracker Response• Gate Size X, Y

• Target Offset X, Y

– Sensor Target Position Response• TBD

Page 21: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

21

Animation Stop Notification• Entity ID

Page 22: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

22

Position Response• X, Y, Z, Yaw, Pitch, Roll• Coordinate System specified by request packet

– World (Geodetic)

– Entity Local NED

– Submodel

Page 23: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

23

Current Issues• Entity Definition: How to specify entity scale,

color, and other properties• Animation Definition: How to define animation

properties• Regional Weather Control: How to define regional

weather attributes• Surface/Subsurface Control: How to define

environmental properties

Page 24: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

24

Entity Definition• Two methods:

– Entity Definition Packet• Scale

• Color

• Other properties

– Component Controls

Page 25: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

25

Animation Definition• Possible methods for defining attributes:

– Component Control for all animation properties

– Single Animation Definition packet

– Specialized Animation Definition packets• Frame-based animations (dynamic textures, switched

geometry)

• Scripted articulations

• Smoke

• Trails and wakes

• Particle systems

• Many others

Page 26: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

26

Single AnimationDefinition Packet

• Pros– Similar to CIGI 1 and 2 (Special Effect Definition)

– Promotes standardization of interface

• Cons– Many attributes in interface do not apply to a given

phenomenon

– Must change all attributes if we change any

– Increased packet size

– Cannot foresee all needed attributes

Page 27: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

27

Specialized AnimationDefinition Packets

• Pros– Promotes standardization of interface– Attributes all apply to the animation type

• Cons– Forces implementation of a particular phenomenon

(e.g., frame-based smoke vs. particle system smoke)– Not all attributes in the interface would always be

implemented as Host-definable– Must change all attributes if we change any– Increases complexity of the interface (more packets)– Cannot foresee all types and attributes

Page 28: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

28

Regional Weather Control• Three ways to specify region:

– Entity ID (like CIGI 1 and 2)

– Grid cell number

– Define extents of a volume• area definition (point/radius)

• volume (shape definition)

Page 29: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

29

Environmental Control• Environment Control

– Leave it alone

– Separate Date/Time from Atmospheric properties

• Surface/Subsurface Condition Control– Create new packet

– Use Component Control

Page 30: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

30

Future Plans• Active News page should be up within a week

– Review for news/forums/updates– We need users to subscribe to the update mailing list so

we can get feedback

• Boeing would like to host a CIGI Working Group– Would like to know who would be interested?– We need multiple inputs on current and future designs– And a voting body on some designs

• CIGI 3.0 ICD to be released Q303– API will follow suite– Host Emulator will be released Q403

Page 31: Preliminary Changes for CIGI Version 3.0 Rob Lechner (rob.lechner@boeing.com) The Boeing Company - Training Systems and Services - June 2003- Rob Lechner.

31

Summary• CIGI is designed to assist suppliers and integrators of IG

systems with ease of integration, code reuse, and cost reduction.

• CIGI has become an accepted IG interface.• Boeing will continue to support CIGI, but we desire to

move CIGI to a standards organization or form a consortium with a review board.

• We desire assistance to foster future development and advancement. All inputs, contributions, and ideas are welcome!