Class Steering.SteeringState
java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.util.Steering.SteeringState
- Enclosing class:
- Steering
public static class Steering.SteeringState
extends java.lang.Object
Object that stores the information the steering utility requires.
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 8 jan. 2019
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description SteeringState()
-
Method Summary
Modifier and Type Method Description protected Angle
getAngularError()
protected double
getAngularErrorDerivative()
protected Length
getPositionError()
protected Speed
getPositionErrorDerivative()
protected Angle
getSteeringAngle()
protected void
setAngularError(Angle angularError)
protected void
setAngularErrorDerivative(double angularErrorDerivative)
protected void
setPositionError(Length positionError)
protected void
setPositionErrorDerivative(Speed positionErrorDerivative)
protected void
setSteeringAngle(Angle steeringAngle)
-
Constructor Details
-
SteeringState
public SteeringState()
-
-
Method Details
-
getSteeringAngle
- Returns:
- steeringAngle.
-
setSteeringAngle
- Parameters:
steeringAngle
- Angle; set steeringAngle.
-
getAngularError
- Returns:
- angularError.
-
setAngularError
- Parameters:
angularError
- Angle; set angularError.
-
getAngularErrorDerivative
protected double getAngularErrorDerivative()- Returns:
- angularErrorDerivative.
-
setAngularErrorDerivative
protected void setAngularErrorDerivative(double angularErrorDerivative)- Parameters:
angularErrorDerivative
- double; set angularErrorDerivative.
-
getPositionError
- Returns:
- positionError.
-
setPositionError
- Parameters:
positionError
- Length; set positionError.
-
getPositionErrorDerivative
- Returns:
- positionErrorDerivative.
-
setPositionErrorDerivative
- Parameters:
positionErrorDerivative
- Speed; set positionErrorDerivative.
-