org.hfbk.vis.visnode.VisUeberwach.VisSonar Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisUeberwach.VisSonar:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.VisUeberwach.VisSonar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisSonar (Vector3f pos, float heading, float pitch)
float getCost (VisTrack track)
void update (VisTrack track)

Protected Member Functions

void transform ()

Package Functions

void receive (float distance, float speed)
void renderSelf ()

Package Attributes

float distance
float speed
float maxdistance
float timer
final float TIMEOUT = 1
final float MAX_FUZZ = 5
final float WEIGHT_DIST = 1
final float WEIGHT_SPEED = 0
float heading
float pitch

Detailed Description

a Sonar sensor, locating Items along one axis of ultrasonic pulse beam. the velocity is gathered too.

Definition at line 298 of file VisUeberwach.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisUeberwach.VisSonar.VisSonar ( Vector3f  pos,
float  heading,
float  pitch 
)

Definition at line 311 of file VisUeberwach.java.

References org.hfbk.vis.visnode.VisNode.radius.


Member Function Documentation

void org.hfbk.vis.visnode.VisUeberwach.VisSonar.receive ( float  distance,
float  speed 
) [package]

receive an real world sonar measurement.

Definition at line 321 of file VisUeberwach.java.

References org.hfbk.vis.visnode.VisUeberwach.VisSonar.MAX_FUZZ, org.hfbk.vis.visnode.VisUeberwach.VisSonar.maxdistance, org.hfbk.vis.visnode.VisUeberwach.VisSonar.timer, and org.hfbk.vis.visnode.VisUeberwach.trackOne().

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonarDummy.renderSelf().

Here is the call graph for this function:

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisUeberwach.VisSonar.transform (  )  [protected]

actually applies this nodes transform. should be overridden for abitrary transform changes, eg. animation, billboarding etc.

Reimplemented from org.hfbk.vis.visnode.VisNode.

Definition at line 331 of file VisUeberwach.java.

References org.hfbk.vis.visnode.VisUeberwach.VisSonar.heading, and org.hfbk.vis.visnode.VisUeberwach.VisSonar.pitch.

void org.hfbk.vis.visnode.VisUeberwach.VisSonar.renderSelf (  )  [package, virtual]

visualize this sonar by a small plate with an direction bolt also a received echo is displayed as a small cube.

Implements org.hfbk.vis.visnode.VisNode.

Reimplemented in org.hfbk.vis.visnode.VisUeberwach.VisSonarDummy.

Definition at line 339 of file VisUeberwach.java.

References org.hfbk.vis.visnode.VisRoot.client, org.hfbk.vis.visnode.VisUeberwach.VisSonar.distance, org.hfbk.vis.VisClient.dt, org.hfbk.vis.visnode.VisNode.getRoot(), org.hfbk.vis.visnode.VisUeberwach.VisSonar.speed, org.hfbk.vis.visnode.VisUeberwach.VisSonar.TIMEOUT, and org.hfbk.vis.visnode.VisUeberwach.VisSonar.timer.

Here is the call graph for this function:

float org.hfbk.vis.visnode.VisUeberwach.VisSonar.getCost ( VisTrack  track  )  [virtual]

get "propabilities" for a Track to match this sonar echo's position and velocity.

Implements org.hfbk.vis.visnode.VisUeberwach.Sensor.

Definition at line 365 of file VisUeberwach.java.

References org.hfbk.vis.visnode.VisUeberwach.VisTrack.current, org.hfbk.vis.visnode.VisUeberwach.VisSonar.distance, org.hfbk.vis.visnode.VisUeberwach.Item.dpos, org.hfbk.vis.visnode.VisNode.parent, org.hfbk.vis.visnode.VisUeberwach.Item.pos, org.hfbk.vis.visnode.VisUeberwach.VisSonar.speed, org.hfbk.vis.visnode.VisNode.traverse(), org.hfbk.vis.visnode.VisUeberwach.VisSonar.WEIGHT_DIST, and org.hfbk.vis.visnode.VisUeberwach.VisSonar.WEIGHT_SPEED.

Here is the call graph for this function:

void org.hfbk.vis.visnode.VisUeberwach.VisSonar.update ( VisTrack  track  )  [virtual]

blend Tracks current position and velocity with the measured one.

TODO should project on the ultrasonic wave propagation sphere to reflect the uncertainity in other axes.

Implements org.hfbk.vis.visnode.VisUeberwach.Sensor.

Definition at line 388 of file VisUeberwach.java.

References org.hfbk.vis.visnode.VisUeberwach.VisTrack.current, org.hfbk.vis.visnode.VisUeberwach.VisSonar.distance, org.hfbk.vis.visnode.VisUeberwach.Item.dpos, org.hfbk.vis.visnode.VisUeberwach.VisTrack.lastseen, org.hfbk.vis.visnode.VisNode.parent, org.hfbk.vis.visnode.VisUeberwach.Item.pos, org.hfbk.vis.visnode.VisUeberwach.VisSonar.speed, org.hfbk.vis.visnode.VisNode.traverse(), and org.hfbk.vis.visnode.VisUeberwach.VisTrack.variance.

Here is the call graph for this function:


Member Data Documentation

float org.hfbk.vis.visnode.VisUeberwach.VisSonar.distance [package]

Definition at line 300 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.getCost(), org.hfbk.vis.visnode.VisUeberwach.VisSonarDummy.renderSelf(), org.hfbk.vis.visnode.VisUeberwach.VisSonar.renderSelf(), and org.hfbk.vis.visnode.VisUeberwach.VisSonar.update().

float org.hfbk.vis.visnode.VisUeberwach.VisSonar.speed [package]

Definition at line 300 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.getCost(), org.hfbk.vis.visnode.VisUeberwach.VisSonar.renderSelf(), and org.hfbk.vis.visnode.VisUeberwach.VisSonar.update().

float org.hfbk.vis.visnode.VisUeberwach.VisSonar.maxdistance [package]

Definition at line 302 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.receive().

float org.hfbk.vis.visnode.VisUeberwach.VisSonar.timer [package]

Definition at line 304 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.receive(), and org.hfbk.vis.visnode.VisUeberwach.VisSonar.renderSelf().

final float org.hfbk.vis.visnode.VisUeberwach.VisSonar.TIMEOUT = 1 [package]

Definition at line 305 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.renderSelf().

final float org.hfbk.vis.visnode.VisUeberwach.VisSonar.MAX_FUZZ = 5 [package]

Definition at line 306 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.receive().

final float org.hfbk.vis.visnode.VisUeberwach.VisSonar.WEIGHT_DIST = 1 [package]

Definition at line 307 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.getCost().

final float org.hfbk.vis.visnode.VisUeberwach.VisSonar.WEIGHT_SPEED = 0 [package]

Definition at line 307 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.getCost().

float org.hfbk.vis.visnode.VisUeberwach.VisSonar.heading [package]

Definition at line 309 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.transform().

float org.hfbk.vis.visnode.VisUeberwach.VisSonar.pitch [package]

Definition at line 309 of file VisUeberwach.java.

Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.transform().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 18:00:10 2009 for visclient by  doxygen 1.5.1