maslab.odom
Class OdomState
java.lang.Object
maslab.odom.OdomState
public class OdomState
- extends java.lang.Object
Field Summary |
double |
theta
|
double |
x
|
double |
y
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public double x
y
public double y
theta
public double theta
OdomState
public OdomState()
OdomState
public OdomState(double x,
double y,
double theta)
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)