sk.robotics.rlcs.data
Class TimedPosition
java.lang.Object
sk.robotics.rlcs.data.Position
sk.robotics.rlcs.data.TimedPosition
- All Implemented Interfaces:
- com.microstepmis.xplatform.CustomXmlMappable, java.lang.Comparable<Position>
public class TimedPosition
- extends Position
Robot position at specific time. For use with PositionQueue.
Objects of this class are immutable.
Methods inherited from class sk.robotics.rlcs.data.Position |
asPoint2D, compareTo, directionTo, directionTo, directionTo, distance, distance, equals, getHeading, getPosX, getPosY, getX, getY, hashCode, headingDiff, headingDiff, headingDiff, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TimedPosition
public TimedPosition(Position pos,
long time)
TimedPosition
public TimedPosition(Position pos)
getTimeStamp
public long getTimeStamp()
getXmlMappable
public TimedPosition.XmlMappable getXmlMappable()
- Specified by:
getXmlMappable
in interface com.microstepmis.xplatform.CustomXmlMappable
- Overrides:
getXmlMappable
in class Position