Uses of Class
org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
-
Packages that use OperationalPlanException Package Description org.opentrafficsim.core.gtu GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.org.opentrafficsim.core.gtu.perception The perception module of a GTU is responsible for perceiving (sensing) the environment of the GTU, which includes the locations of other GTUs.org.opentrafficsim.core.gtu.plan.operational Operational plans describe a path through the world with a speed profile that a GTU intends to follow.org.opentrafficsim.core.gtu.plan.tactical Tactical planners generate operational plans that are in line with reaching the goals of the strategical plan. -
-
Uses of OperationalPlanException in org.opentrafficsim.core.gtu
Methods in org.opentrafficsim.core.gtu that throw OperationalPlanException Modifier and Type Method Description protected voidAbstractGtu. interruptMove()Interrupt the move and ask for a new plan.protected booleanAbstractGtu. move(OrientedPoint3d fromLocation)Move from the current location according to an operational plan to a location that will bring us nearer to reaching the location provided by the strategical planner. -
Uses of OperationalPlanException in org.opentrafficsim.core.gtu.perception
Methods in org.opentrafficsim.core.gtu.perception that throw OperationalPlanException Modifier and Type Method Description <T extends PerceptionCategory<?,?>>
TAbstractPerception. getPerceptionCategory(Class<T> category)Returns the given perception category.<T extends PerceptionCategory<?,?>>
TPerception. getPerceptionCategory(Class<T> category)Returns the given perception category. -
Uses of OperationalPlanException in org.opentrafficsim.core.gtu.plan.operational
Methods in org.opentrafficsim.core.gtu.plan.operational that throw OperationalPlanException Modifier and Type Method Description static OperationalPlanOperationalPlanBuilder. buildConstantSpeedPlan(Gtu gtu, PolyLine3d path, Time startTime, Speed speed)Build a plan with a path and a given speed.static OperationalPlanOperationalPlanBuilder. buildGradualAccelerationPlan(Gtu gtu, PolyLine3d path, Time startTime, Speed startSpeed, Speed endSpeed)Build a plan with a path and a given start speed to reach a provided end speed, exactly at the end of the curve.static OperationalPlanOperationalPlanBuilder. buildGradualAccelerationPlan(Gtu gtu, PolyLine3d path, Time startTime, Speed startSpeed, Speed endSpeed, Acceleration maximumAcceleration, Acceleration maximumDeceleration)Build a plan with a path and a given start speed to try to reach a provided end speed, exactly at the providedendTime.static OperationalPlanOperationalPlanBuilder. buildMaximumAccelerationPlan(Gtu gtu, PolyLine3d path, Time startTime, Speed startSpeed, Speed endSpeed, Acceleration maximumAcceleration, Acceleration maximumDeceleration)Build a plan with a path and a given start speed to try to reach a provided end speed.static OperationalPlanOperationalPlanBuilder. buildStopPlan(Gtu gtu, PolyLine3d path, Time startTime, Speed startSpeed, Acceleration deceleration)Build a plan with a path and a given start speed to try to come to a stop with a given deceleration.AccelerationOperationalPlan. getAcceleration(Duration time)Calculate the acceleration of the GTU after the given duration since the start of the plan.AccelerationOperationalPlan. getAcceleration(Time time)Calculate the acceleration of the GTU at the given time.OrientedPoint3dOperationalPlan. getLocation(Duration time)Calculate the location after the given duration since the start of the plan.OrientedPoint3dOperationalPlan. getLocation(Time time)Calculate the location at the given time.OrientedPoint3dOperationalPlan. getLocation(Time time, RelativePosition pos)Calculate the location at a specific time.SpeedOperationalPlan. getSpeed(Duration time)Calculate the speed of the GTU after the given duration since the start of the plan.SpeedOperationalPlan. getSpeed(Time time)Calculate the speed of the GTU at the given time.LengthOperationalPlan. getTraveledDistance(Duration duration)Calculate the distance traveled as part of this plan after the given duration since the start of the plan.LengthOperationalPlan. getTraveledDistance(Time time)Calculate the distance traveled as part of this plan at the given absolute time.doubleOperationalPlan. getTraveledDistanceSI(Duration duration)Calculate the distance traveled as part of this plan after the given duration since the start of the plan.doubleOperationalPlan. getTraveledDistanceSI(Time time)Calculate the distance traveled as part of this plan at a specific time.Constructors in org.opentrafficsim.core.gtu.plan.operational that throw OperationalPlanException Constructor Description OperationalPlan(Gtu egoGtu, PolyLine3d path, Time startTime, Speed startSpeed, List<OperationalPlan.Segment> operationalPlanSegmentList)Construct a new operational plan.OperationalPlan(Gtu egoGtu, OrientedPoint3d waitPoint, Time startTime, Duration duration)Build a plan where the GTU will wait for a certain time. -
Uses of OperationalPlanException in org.opentrafficsim.core.gtu.plan.tactical
Methods in org.opentrafficsim.core.gtu.plan.tactical that throw OperationalPlanException Modifier and Type Method Description OperationalPlanTacticalPlanner. generateOperationalPlan(Time startTime, OrientedPoint3d locationAtStartTime)Generate an operational plan, for now or for in the future.
-