|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Localizer
Generic interface implemented by classes that support two dimensional position tracking.
Method Summary | |
---|---|
Pose |
getPose()
Gets the robot's pose (x, y position and heading). |
void |
setHeading(float heading)
Sets the robot's current heading. |
void |
setPose(float x,
float y,
float heading)
Sets the robot's current pose. |
void |
setPose(Pose pose)
Sets the robot's current pose. |
void |
setPosition(float x,
float y)
Sets the robot's current x and y coordinates. |
Method Detail |
---|
Pose getPose()
void setHeading(float heading)
heading
- heading in radiansvoid setPose(float x, float y, float heading)
x
- x coordiante in whatever units the localizer usesy
- y coordinate in whatever units the localizer usesheading
- heading in radiansvoid setPose(Pose pose)
pose
- a Pose object containing the new posevoid setPosition(float x, float y)
x
- x coordiante in whatever units the localizer usesy
- y coordinate in whatever units the localizer uses
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |