mil.navy.nps.eaiDemoAUV
Class Ownship

java.lang.Object
  extended bymil.navy.nps.eaiDemoAUV.Ownship

public class Ownship
extends java.lang.Object


Field Summary
(package private) static float aDeg
           
(package private)  float[] ang
           
(package private)  float[] angDt
           
(package private)  int currFrame
           
(package private)  Quaternion currQuat
           
static int DOWN
           
(package private) static float DRAG
           
(package private)  float[] drAng
           
(package private)  float[] drAngDt
           
(package private)  float[] drPos
           
(package private)  float[] drPosDt
           
(package private)  EntityStatePdu espdu
           
(package private) static float GRAVITY
           
(package private) static float[] initAng
           
(package private) static float[] initAngDt
           
(package private) static float[] initPos
           
(package private) static float[] initPosDt
           
static int LEFT
           
(package private) static float LIFT_COEF
           
(package private) static float MASS
           
(package private)  vrml.external.Node[] myNode
           
(package private)  vrml.external.field.EventInSFVec3f myPos
           
(package private)  vrml.external.field.EventInSFRotation myRot
           
(package private)  vrml.external.Node[] myTransform
           
(package private)  NIU niu
           
(package private)  float pduTimer
           
(package private)  float[] pos
           
(package private)  float[] posDt
           
static int RIGHT
           
(package private)  float[] rot
           
(package private) static float SCREW_COEF
           
(package private)  float speed
           
(package private)  Quaternion tmpQuat
           
(package private)  Quaternion tmpQuat1
           
(package private)  Quaternion tmpQuat2
           
static int UP
           
(package private) static float VOLUME
           
(package private) static java.lang.String vrmlString
           
 
Constructor Summary
Ownship(vrml.external.Browser browser, NIU _niu, java.lang.String tmpParam)
           
 
Method Summary
 void cycle()
           
 void dispose()
           
 vrml.external.Node[] getNode()
           
 void sendPDU()
           
 void update_depth(int depth)
           
 void update_rudder(int angle)
           
 void update_speed(int turns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vrmlString

static final java.lang.String vrmlString
See Also:
Constant Field Values

initPos

static final float[] initPos

initPosDt

static final float[] initPosDt

initAng

static final float[] initAng

initAngDt

static final float[] initAngDt

UP

public static final int UP
See Also:
Constant Field Values

DOWN

public static final int DOWN
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values

SCREW_COEF

static final float SCREW_COEF
See Also:
Constant Field Values

LIFT_COEF

static final float LIFT_COEF
See Also:
Constant Field Values

DRAG

static final float DRAG
See Also:
Constant Field Values

GRAVITY

static final float GRAVITY
See Also:
Constant Field Values

MASS

static final float MASS
See Also:
Constant Field Values

VOLUME

static final float VOLUME
See Also:
Constant Field Values

aDeg

static final float aDeg
See Also:
Constant Field Values

niu

NIU niu

myNode

vrml.external.Node[] myNode

myTransform

vrml.external.Node[] myTransform

myPos

vrml.external.field.EventInSFVec3f myPos

myRot

vrml.external.field.EventInSFRotation myRot

currQuat

Quaternion currQuat

tmpQuat

Quaternion tmpQuat

tmpQuat1

Quaternion tmpQuat1

tmpQuat2

Quaternion tmpQuat2

currFrame

int currFrame

speed

float speed

rot

float[] rot

pos

float[] pos

posDt

float[] posDt

ang

float[] ang

angDt

float[] angDt

drPos

float[] drPos

drPosDt

float[] drPosDt

drAng

float[] drAng

drAngDt

float[] drAngDt

espdu

EntityStatePdu espdu

pduTimer

float pduTimer
Constructor Detail

Ownship

public Ownship(vrml.external.Browser browser,
               NIU _niu,
               java.lang.String tmpParam)
Method Detail

cycle

public void cycle()

sendPDU

public void sendPDU()

update_depth

public void update_depth(int depth)

update_rudder

public void update_rudder(int angle)

update_speed

public void update_speed(int turns)

dispose

public void dispose()

getNode

public vrml.external.Node[] getNode()