Class Steering
- java.lang.Object
-
- org.opentrafficsim.road.gtu.lane.tactical.util.Steering
-
public final class Steering extends Object
Utility for tactical planners to implement more precise (in terms of physics) vehicle control.Copyright (c) 2013-2022 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSteering.FeedbackTableClass containing feedback values for curvature determination.static classSteering.SteeringStateObject that stores the information the steering utility requires.
-
Field Summary
Fields Modifier and Type Field Description (package private) static org.opentrafficsim.base.parameters.ParameterTypeDoubleC_FRONTFront tire cornering stiffness.(package private) static org.opentrafficsim.base.parameters.ParameterTypeDoubleC_REARRear tire cornering stiffness.(package private) static org.opentrafficsim.base.parameters.ParameterTypeDurationDTTime step parameter.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationalPlanfromReferencePlan(LaneBasedGTU gtu, org.opentrafficsim.base.parameters.Parameters params, Steering.SteeringState steeringState, OperationalPlan referencePlan, Steering.FeedbackTable feedbackTable)Translates a reference trajectory in to steering angles and a resulting trajectory.static OperationalPlanfromReferencePoints(GTU gtu, org.opentrafficsim.base.parameters.Parameters params, Steering.SteeringState steeringState, Set<DirectedPoint> points, List<OperationalPlan.Segment> segments)Translates reference points in to steering angles and a resulting trajectory.
-
-
-
Field Detail
-
DT
static final org.opentrafficsim.base.parameters.ParameterTypeDuration DT
Time step parameter.
-
C_FRONT
static final org.opentrafficsim.base.parameters.ParameterTypeDouble C_FRONT
Front tire cornering stiffness.
-
C_REAR
static final org.opentrafficsim.base.parameters.ParameterTypeDouble C_REAR
Rear tire cornering stiffness.
-
-
Method Detail
-
fromReferencePlan
public static OperationalPlan fromReferencePlan(LaneBasedGTU gtu, org.opentrafficsim.base.parameters.Parameters params, Steering.SteeringState steeringState, OperationalPlan referencePlan, Steering.FeedbackTable feedbackTable) throws org.opentrafficsim.base.parameters.ParameterException
Translates a reference trajectory in to steering angles and a resulting trajectory.- Parameters:
gtu- LaneBasedGTU; GTUparams- Parameters; parameterssteeringState- SteeringState; steering state between operational plansreferencePlan- OperationalPlan; operational reference planfeedbackTable- FeedbackTable; table of feedback values- Returns:
- actual operational plan
- Throws:
org.opentrafficsim.base.parameters.ParameterException- undefined parameter
-
fromReferencePoints
public static OperationalPlan fromReferencePoints(GTU gtu, org.opentrafficsim.base.parameters.Parameters params, Steering.SteeringState steeringState, Set<DirectedPoint> points, List<OperationalPlan.Segment> segments) throws org.opentrafficsim.base.parameters.ParameterException
Translates reference points in to steering angles and a resulting trajectory.- Parameters:
gtu- GTU; GTUparams- Parameters; parameterssteeringState- SteeringState; steering state between operational planspoints- Set<DirectedPoint>; reference pointssegments- List<Segment>; speed segments- Returns:
- operational plan
- Throws:
org.opentrafficsim.base.parameters.ParameterException- undefined parameter
-
-