Class Steering.SteeringState
- java.lang.Object
-
- org.opentrafficsim.road.gtu.lane.tactical.util.Steering.SteeringState
-
- Enclosing class:
- Steering
public static class Steering.SteeringState extends 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
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
getSteeringAngle
protected Angle getSteeringAngle()
- Returns:
- steeringAngle.
-
setSteeringAngle
protected void setSteeringAngle(Angle steeringAngle)
- Parameters:
steeringAngle- Angle; set steeringAngle.
-
getAngularError
protected Angle getAngularError()
- Returns:
- angularError.
-
setAngularError
protected void setAngularError(Angle angularError)
- Parameters:
angularError- Angle; set angularError.
-
getAngularErrorDerivative
protected double getAngularErrorDerivative()
- Returns:
- angularErrorDerivative.
-
setAngularErrorDerivative
protected void setAngularErrorDerivative(double angularErrorDerivative)
- Parameters:
angularErrorDerivative- double; set angularErrorDerivative.
-
getPositionError
protected Length getPositionError()
- Returns:
- positionError.
-
setPositionError
protected void setPositionError(Length positionError)
- Parameters:
positionError- Length; set positionError.
-
getPositionErrorDerivative
protected Speed getPositionErrorDerivative()
- Returns:
- positionErrorDerivative.
-
setPositionErrorDerivative
protected void setPositionErrorDerivative(Speed positionErrorDerivative)
- Parameters:
positionErrorDerivative- Speed; set positionErrorDerivative.
-
-