![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #ifndef _leTspiP_h_ 00008 #define _leTspiP_h_ 1 00009 00013 00014 #if DtDIS 00015 00016 #include <vlpi/NetStructs.h> 00017 #include "pduHeader.h" 00018 00021 00022 struct DtNetLeEntityID 00023 { 00024 DtNetU8 mySite; 00025 DtNetU8 myApplication; 00026 DtNetU16 myEntity; 00027 }; 00028 00031 00032 struct DtNetLeEntityLocationWorldCoordinates 00033 { 00034 DtNetU16 myReferencePoint; 00035 DtNetU16 myDeltaX; 00036 DtNetU16 myDeltaY; 00037 DtNetU16 myDeltaZ; 00038 }; 00039 00042 00043 struct DtNetLeEntityLocationEntityCoordinates 00044 { 00045 DtNetU16 myX; 00046 DtNetU16 myY; 00047 DtNetU16 myZ; 00048 }; 00049 00052 00053 struct DtNetLeEntityLinearVelocity 00054 { 00055 DtNetU16 myX; 00056 DtNetU16 myY; 00057 DtNetU16 myZ; 00058 }; 00059 00062 00063 struct DtNetLeEntityOrientation 00064 { 00065 DtNetU8 myPsi; 00066 DtNetU8 myTheta; 00067 DtNetU8 myPhi; 00068 }; 00069 00070 struct DtNetLeEntityOrientation16 00071 { 00072 DtNetU16 myPsi; 00073 DtNetU16 myTheta; 00074 DtNetU16 myPhi; 00075 }; 00076 00079 00080 struct DtNetLePositionError 00081 { 00082 DtNetU16 myHorizontalError; 00083 DtNetU16 myVerticalError; 00084 }; 00085 00088 00089 struct DtNetLeOrientationError 00090 { 00091 DtNetU16 myAzimuthError; 00092 DtNetU16 myElevationError; 00093 DtNetU16 myRotationError; 00094 }; 00095 00098 00099 struct DtNetLeDeadReckoningParameters 00100 { 00101 DtNetU8 myDeadReckoningAlgorithm; 00102 DtNetU8 myLinearAcceleration[3]; 00103 DtNetU8 myAngularVelocity[3]; 00104 }; 00105 00107 00108 struct DtNetLePduHeader 00109 { 00110 DtNetVersion myVersion; 00111 DtNetExerciseId myExercise; 00112 DtNetU8 myKind; 00113 DtNetU8 myFamily; 00114 DtNetTimeStamp myTime; 00115 DtNetU16 myLength; 00116 DtNetU8 mySubProtocol; 00117 DtNetU8 padding; 00118 }; 00119 00122 00123 struct DtNetLeTspiPdu 00124 { 00125 DtNetLePduHeader myHeader; 00126 DtNetLeEntityID myEntityID; 00127 }; 00128 00129 #endif 00130 #endif