simulator
Class SensorState

java.lang.Object
  |
  +--simulator.SensorState

class SensorState
extends java.lang.Object

Contain information about the position of the sensor


Field Summary
(package private)  Position massCenter
          The x,y position of the mass center
(package private)  double xAngle
          The orientation angle from x axle
 
Constructor Summary
SensorState(Position p, double a)
          Initialize position of the sensor
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

massCenter

Position massCenter
The x,y position of the mass center

xAngle

double xAngle
The orientation angle from x axle
Constructor Detail

SensorState

public SensorState(Position p,
                   double a)
Initialize position of the sensor
Parameters:
p - the x,y position of mass center
a - the rotation angle from x axle