public interface IPositionManager
Modifier and Type | Method and Description |
---|---|
void |
addDesiredPosition(int index,
Pose2D pos)
adds an intermediate position (with orientation) to the list of positions
|
void |
clear()
Removes all desired positions from the list
|
java.util.List<Pose2D> |
getDesiredPositions() |
Pose2D |
getFinalPosition() |
void |
setDesiredPosition(Pose2D posOrientation,
boolean enforceFromOutside) |
void |
setDesiredPosition(org.apache.commons.math3.geometry.euclidean.threed.Vector3D desiredPosition,
Angle desiredRotation,
boolean enforceFromOutside)
Sets the single position this player wants to be
|
java.util.List<Pose2D> getDesiredPositions()
Pose2D getFinalPosition()
void setDesiredPosition(org.apache.commons.math3.geometry.euclidean.threed.Vector3D desiredPosition, Angle desiredRotation, boolean enforceFromOutside)
desiredPosition
- coordinates (global) where this player intends to
bedesiredRotation
- desired angle at the desired positionenforceFromOutside
- true if the position should not be changedvoid setDesiredPosition(Pose2D posOrientation, boolean enforceFromOutside)
posOrientation
- the position and orientation of desired positionenforceFromOutside
- true if the position should not be changedvoid addDesiredPosition(int index, Pose2D pos)
index
- the index where to add the new positionpos
- the position orientation to addvoid clear()