demo.rraBattleScene
Class PingApplication

java.lang.Object
  |
  +--demo.rraBattleScene.PingApplication

public class PingApplication
extends java.lang.Object

This example application performs a standalone simulation to generate both sonar pings and sonar returns for use in a virtual world.

PingApplication also initializes the environment (Bottom, Surface and SSP) and the sonar Lobe being transmitted.

Version:
1.0

Author:
LT Timothy M. Holliday (www.stl.nps.navy.mil/~auv/holliday)

Contact: Don Brutzman (www.stl.nps.navy.mil/~auv/brutzman) brutzman@nps.navy.mil

Source Code:
~/mil/navy/nps/rra/PingApplication.java
http://www.stl.nps.navy.mil/dis-java-vrml/mil/navy/nps/rra/PingApplication.java

Hierarchy Diagram     Coordinate Systems

History:
15 Jan 98 Timothy M. Holliday New
17 Mar 98 Timothy M. Holliday Added HTML comment convention
10 Oct 98 Don Brutzman Javadoc updates for jdk1.2b4
Renamed class PingApplication.java (was Pinger.java)

Reference:
Holliday, Timothy, Real-Time 3D Sonar Modeling and Visualization, Master's Thesis, Naval Postgraduate School, Monterey California, June 1998.

See Also:
Bottom, Surface, SSP, Lobe, ExampleLobeDynamic

Field Summary
static Vec3d deltaPosition
           
static double deltaTime
           
static double EAST
           
static double lastZLane
           
static double MAXIMUMX
           
static double MAXIMUMZ
           
static double MINIMUMX
           
static double MINIMUMZ
           
static double NORTH
           
static double orientation
           
static Vec3d position
           
static double SOUTH
           
static Vec3d velocity
           
 
Constructor Summary
PingApplication()
           
 
Method Summary
static void main(java.lang.String[] args)
          This method initializes the environment and the sonar Lobe, then has the VRML representation of each written to the console.
static boolean notDoneSearching()
           
static void updateVehiclePosition()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MINIMUMX

public static final double MINIMUMX

MINIMUMZ

public static final double MINIMUMZ

MAXIMUMZ

public static final double MAXIMUMZ

MAXIMUMX

public static final double MAXIMUMX

NORTH

public static final double NORTH

SOUTH

public static final double SOUTH

EAST

public static final double EAST

deltaTime

public static double deltaTime

lastZLane

public static double lastZLane

position

public static Vec3d position

deltaPosition

public static Vec3d deltaPosition

velocity

public static Vec3d velocity

orientation

public static double orientation
Constructor Detail

PingApplication

public PingApplication()
Method Detail

main

public static void main(java.lang.String[] args)
This method initializes the environment and the sonar Lobe, then has the VRML representation of each written to the console.

notDoneSearching

public static boolean notDoneSearching()

updateVehiclePosition

public static void updateVehiclePosition()