rp1.rossum.event
Class RsPositionEvent

java.lang.Object
  extended by rp1.rossum.event.RsEvent
      extended by rp1.rossum.event.RsPositionEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class RsPositionEvent
extends RsEvent

An event generated by the simulator on request by the application to obtain position data.

See Also:
Serialized Form

Field Summary
 double orientation
           
 double turnRate
           
 double velocity
           
 double x
           
 double y
           
 
Fields inherited from class rp1.rossum.event.RsEvent
eventID, EVT_ARRAY_SIZE, EVT_CONTACT_SENSOR, EVT_ENCODER_STATUS, EVT_HEARTBEAT, EVT_MAX_CODE, EVT_MOTION_HALTED, EVT_MOTION_STARTED, EVT_MOUSE_CLICK, EVT_PAINT_SENSOR, EVT_PLACEMENT, EVT_PLAN, EVT_POSITION, EVT_RANGE_SENSOR, EVT_TARGET_SELECTION, EVT_TARGET_SENSOR, EVT_TIMEOUT, simTime
 
Constructor Summary
RsPositionEvent(double simTime, double x, double y, double orientation, double velocity, double turnRate)
           
 
Method Summary
 
Methods inherited from class rp1.rossum.event.RsEvent
consume, getEventID, getIndex, getSimTime, isConsumed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public final double x

y

public final double y

orientation

public final double orientation

velocity

public final double velocity

turnRate

public final double turnRate
Constructor Detail

RsPositionEvent

public RsPositionEvent(double simTime,
                       double x,
                       double y,
                       double orientation,
                       double velocity,
                       double turnRate)