Метод | Описание | |
---|---|---|
CalcRadius ( double velocity, double accel ) : double | ||
CreatePathTo ( |
||
DetermineDurationOfTurn ( TrianglesInSpace.Primitives.Angle start, TrianglesInSpace.Primitives.Angle end, TrianglesInSpace.Primitives.Angle turnRate, TurnDirection turnDirection ) : ulong | ||
DetermineTurnDirection ( |
Determines if a turn is clockwise or anti clockwise
|
|
DetermineTurnEnd ( |
|
|
DetermineTurnRate ( double speed, double radius, TurnDirection turnDirection ) : TrianglesInSpace.Primitives.Angle | ||
DetermineTurningCircles ( |
Determines the positions of the two possible turning circles Relative to the initial position which is not passed into the function
|
|
GetCurrentMotion ( ulong currentTime ) : IMotion | ||
MoveToDestination ( |
||
Path ( ) : System | ||
Path ( double maximumAcceleration, IMotion startingMotion ) : System | ||
SelectTuriningCircle ( |
Select the closest turning circle to the desitnation unless the closest circle is within the radius of the turning circle. All positions need to be in the same reference frame
|
public static CalcRadius ( double velocity, double accel ) : double | ||
velocity | double | |
accel | double | |
Результат | double |
public CreatePathTo ( |
||
destination | ||
initialVelocity | ||
initialPosition | ||
startTime | ulong | |
Результат | List |
public DetermineDurationOfTurn ( TrianglesInSpace.Primitives.Angle start, TrianglesInSpace.Primitives.Angle end, TrianglesInSpace.Primitives.Angle turnRate, TurnDirection turnDirection ) : ulong | ||
start | TrianglesInSpace.Primitives.Angle | |
end | TrianglesInSpace.Primitives.Angle | |
turnRate | TrianglesInSpace.Primitives.Angle | |
turnDirection | TurnDirection | |
Результат | ulong |
public DetermineTurnDirection ( |
||
velocity | The current velocity of the object | |
turiningCircleOffset | The position of the turning circle relative to the initial position | |
Результат | TurnDirection |
public DetermineTurnEnd ( |
||
destination | The position of the destination relative to the turning point | |
radius | double | The radius of the turning circle |
turnDirection | TurnDirection | If the turn is clockwise or anti clockwise |
Результат | TrianglesInSpace.Primitives.Angle |
public DetermineTurnRate ( double speed, double radius, TurnDirection turnDirection ) : TrianglesInSpace.Primitives.Angle | ||
speed | double | |
radius | double | |
turnDirection | TurnDirection | |
Результат | TrianglesInSpace.Primitives.Angle |
public DetermineTurningCircles ( |
||
initialVelocity | The current velocity of the object | |
radius | double | The desired radius of the object |
circleOne | The first of the two possible turning circles | |
circleTwo | The second of the two possible turning circles | |
Результат | void |
public GetCurrentMotion ( ulong currentTime ) : IMotion | ||
currentTime | ulong | |
Результат | IMotion |
public MoveToDestination ( |
||
destination | ||
currentTime | ulong | |
Результат | void |
public Path ( double maximumAcceleration, IMotion startingMotion ) : System | ||
maximumAcceleration | double | |
startingMotion | IMotion | |
Результат | System |
public SelectTuriningCircle ( |
||
circleCentreOne | ||
circleCentreTwo | ||
targetPosition | The destination | |
turningRadius | double | The radius of the circles |
Результат |