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 AnglegetAngularError()protected doublegetAngularErrorDerivative()protected LengthgetPositionError()protected SpeedgetPositionErrorDerivative()protected AnglegetSteeringAngle()protected voidsetAngularError(Angle angularError)protected voidsetAngularErrorDerivative(double angularErrorDerivative)protected voidsetPositionError(Length positionError)protected voidsetPositionErrorDerivative(Speed positionErrorDerivative)protected voidsetSteeringAngle(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.
-