|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.lejon.util.Pose
Wrapper class for representing the current position of the drive.
Constructor Summary | |
Pose()
Creates a new instance of Pose |
Method Summary | |
Pose |
getPose()
Returns the local pose. |
float |
getTheta()
Returns the direction angle. |
float |
getXPos()
Returns the x-value of local pose. |
float |
getYPos()
Returns the y-value of local pose. |
void |
setPose(float xPos,
float yPos,
float theta)
Sets the values of pose. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Pose()
Method Detail |
public Pose getPose()
public float getXPos()
public float getYPos()
public float getTheta()
public void setPose(float xPos, float yPos, float theta)
xPos
- x value of the positionyPos
- y value of the positiontheta
- the direction angle
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |