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-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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Steering.FeedbackTable
Class containing feedback values for curvature determination.static class
Steering.SteeringState
Object that stores the information the steering utility requires.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationalPlan
fromReferencePlan(LaneBasedGTU gtu, Parameters params, Steering.SteeringState steeringState, OperationalPlan referencePlan, Steering.FeedbackTable feedbackTable)
Translates a reference trajectory in to steering angles and a resulting trajectory.static OperationalPlan
fromReferencePoints(GTU gtu, Parameters params, Steering.SteeringState steeringState, Set<DirectedPoint> points, List<OperationalPlan.Segment> segments)
Translates reference points in to steering angles and a resulting trajectory.
-
-
-
Method Detail
-
fromReferencePlan
public static OperationalPlan fromReferencePlan(LaneBasedGTU gtu, Parameters params, Steering.SteeringState steeringState, OperationalPlan referencePlan, Steering.FeedbackTable feedbackTable) throws 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:
ParameterException
- undefined parameter
-
fromReferencePoints
public static OperationalPlan fromReferencePoints(GTU gtu, Parameters params, Steering.SteeringState steeringState, Set<DirectedPoint> points, List<OperationalPlan.Segment> segments) throws 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:
ParameterException
- undefined parameter
-
-