public class WalkEstimator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WalkEstimator.WalkMode |
Constructor and Description |
---|
WalkEstimator() |
WalkEstimator(float[] speed) |
Modifier and Type | Method and Description |
---|---|
float |
estimateWalkTime(IThisPlayer thisPlayer,
Pose2D pose,
WalkEstimator.WalkMode mode)
Estimates the time (in s) it takes to get to the specifed position turned
into the specified direction.
|
WalkEstimator.WalkMode |
getFastestWalkMode(IThisPlayer thisPlayer,
Pose2D pose) |
public WalkEstimator()
public WalkEstimator(float[] speed)
public WalkEstimator.WalkMode getFastestWalkMode(IThisPlayer thisPlayer, Pose2D pose)
public float estimateWalkTime(IThisPlayer thisPlayer, Pose2D pose, WalkEstimator.WalkMode mode)
worldModel
- position
- the position to get toabsFacingDirectionAtPosition
- the direction to turn to at positionmode
- how to get there