maslab.odom
Class OdomState

java.lang.Object
  extended by maslab.odom.OdomState

public class OdomState
extends java.lang.Object


Field Summary
 double theta
           
 double x
           
 double y
           
 
Constructor Summary
OdomState()
           
OdomState(double x, double y, double theta)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 OdomState relativeTo(OdomState os)
          Compute the odometry as though we started at the location given by os.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x

y

public double y

theta

public double theta
Constructor Detail

OdomState

public OdomState()

OdomState

public OdomState(double x,
                 double y,
                 double theta)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

relativeTo

public OdomState relativeTo(OdomState os)
Compute the odometry as though we started at the location given by os.


main

public static void main(java.lang.String[] args)