76 adore::env::EnvFactoryInstance::get()->getControlledConnectionFeed()),
78 adore::env::EnvFactoryInstance::get()->getCheckPointFeed()),
94 auto lcv = directionLeft
103 pLongitudinalPlanner,
129 planning_result.
id =
id_;
147 auto source = lcv->getTargetLane();
149 if(!current->isValid())
154 if(!source->isValid())
159 if(lcv->getNavigationCostDifference()<0)
161 planning_result.
status_string =
"lm not required for navigation";
179 planning_result.
status_string =
"not restarting, maneuver too short";
186 bool valid_em_found =
false;
197 valid_em_found =
true;
208 planning_result.
status_string +=
"emergency maneuver planning failed";
Base class for different trajectory planners: Handles communication w/ decision making module....
Definition: trajectory_planner_base.h:31
Decoupled trajectory planner, which uses TrajectoryPlannerBase to compute and provide a PlanningResul...
Definition: trajectory_planner_lm.h:42
TNominalPlanner * nominal_planner_
Definition: trajectory_planner_lm.h:46
bool directionLeft_
Definition: trajectory_planner_lm.h:67
adore::fun::BasicMergePlanner< 20, 5 > TNominalPlanner
Definition: trajectory_planner_lm.h:44
adore::env::ThreeLaneViewDecoupled three_lanes_
Definition: trajectory_planner_lm.h:57
std::string plannerName_
Definition: trajectory_planner_lm.h:66
adore::fun::SPRInvariantCollisionFreedom collision_detection_
Definition: trajectory_planner_lm.h:63
adore::env::NavigationGoalObserver ngo_
Definition: trajectory_planner_lm.h:52
adore::params::APVehicle * pvehicle_
Definition: trajectory_planner_lm.h:49
adore::env::ConnectionsOnLane * checkPointsOnLane_
Definition: trajectory_planner_lm.h:56
adore::params::APTrajectoryGeneration * pTrajectoryGeneration_
Definition: trajectory_planner_lm.h:51
adore::fun::MergeMRMPlanner< 20, 5 > TEmergencyPlanner
Definition: trajectory_planner_lm.h:45
adore::params::APTacticalPlanner * pTacticalPlanner_
Definition: trajectory_planner_lm.h:50
adore::env::ConnectionsOnLane * connectionsOnLane_
Definition: trajectory_planner_lm.h:55
adore::env::DecoupledTrafficPredictionView prediction_
Definition: trajectory_planner_lm.h:58
virtual void computeTrajectory(const adore::fun::PlanningRequest &planning_request, adore::fun::PlanningResult &planning_result) override
update data, views and recompute maneuver
Definition: trajectory_planner_lm.h:126
adore::env::ControlledConnectionSet4Ego connectionSet_
Definition: trajectory_planner_lm.h:53
adore::env::ControlledConnectionSet4Ego checkPointSet_
Definition: trajectory_planner_lm.h:54
int id_
Definition: trajectory_planner_lm.h:65
TEmergencyPlanner * emergency_planner_
Definition: trajectory_planner_lm.h:47
TrajectoryPlannerLM(bool directionLeft, std::string name, int id)
Definition: trajectory_planner_lm.h:74
virtual ~TrajectoryPlannerLM()
Definition: trajectory_planner_lm.h:69
Definition: connectionsonlane.h:33
void update()
Definition: connectionsonlane.h:82
Specialization of ControlledConnectionSet: Filters connections in range of ego.
Definition: controlledconnection.h:232
virtual void update()
Definition: controlledconnection.h:243
Definition: decoupledtrafficpredictionview.h:24
void update()
Definition: decoupledtrafficpredictionview.h:43
Definition: navigationgoalobserver.h:31
void update()
Definition: navigationgoalobserver.h:56
Definition: threelaneviewdecoupled.h:32
virtual adore::view::ALaneChangeView * getLeftLaneChange()
Definition: threelaneviewdecoupled.h:412
virtual adore::view::ALaneChangeView * getRightLaneChange()
Definition: threelaneviewdecoupled.h:419
virtual adore::view::ALane * getCurrentLane()
Definition: threelaneviewdecoupled.h:405
void update()
Definition: threelaneviewdecoupled.h:373
Definition: basicmergeplanner.h:38
virtual const SetPointRequest * getSetPointRequest() const override
Definition: decoupled_lflc_planner.h:491
std::string getStatus()
Definition: decoupled_lflc_planner.h:348
virtual bool hasValidPlan() const override
Definition: decoupled_lflc_planner.h:484
virtual void compute(const VehicleMotionState9d &initial_state) override
Definition: decoupled_lflc_planner.h:372
virtual const SetPointRequest * getSetPointRequest() const
Definition: mrmplanner.h:273
void setAMin(double value)
Definition: mrmplanner.h:55
void setTStall(double value)
Definition: mrmplanner.h:53
virtual void compute(const VehicleMotionState9d &initial_state)
Definition: mrmplanner.h:175
void setJMax(double value)
Definition: mrmplanner.h:52
void setAStall(double value)
Definition: mrmplanner.h:54
void setSecondAttempt(bool value)
Definition: mrmplanner.h:56
virtual bool hasValidPlan() const
Definition: mrmplanner.h:266
Plans minimum risk maneuver to cancel lane change.
Definition: mergemrmplanner.h:35
Definition: basicsetpointrequestevaluators.h:423
virtual bool isValid(const adore::fun::SetPointRequest &spr) const override
Definition: basicsetpointrequestevaluators.h:433
Definition: basicsetpointrequestevaluators.h:148
virtual double getCost(const adore::fun::SetPointRequest &spr) const override
Definition: basicsetpointrequestevaluators.h:155
virtual std::string getName() const override
Definition: basicsetpointrequestevaluators.h:154
Definition: basicsetpointrequestevaluators.h:32
virtual bool isValid(const adore::fun::SetPointRequest &spr) const override
Definition: basicsetpointrequestevaluators.h:46
Definition: basicsetpointrequestevaluators.h:364
virtual std::string getName() const override
Definition: basicsetpointrequestevaluators.h:366
virtual double getCost(const adore::fun::SetPointRequest &spr) const override
Definition: basicsetpointrequestevaluators.h:367
Definition: basicsetpointrequestevaluators.h:378
virtual double getCost(const adore::fun::SetPointRequest &spr) const override
Definition: basicsetpointrequestevaluators.h:381
virtual std::string getName() const override
Definition: basicsetpointrequestevaluators.h:380
Definition: basicsetpointrequestevaluators.h:178
virtual std::string getName() const override
Definition: basicsetpointrequestevaluators.h:189
virtual double getCost(const adore::fun::SetPointRequest &spr) const override
Definition: basicsetpointrequestevaluators.h:190
Definition: basicsetpointrequestevaluators.h:256
virtual double getCost(const adore::fun::SetPointRequest &spr) const override
Definition: basicsetpointrequestevaluators.h:268
virtual std::string getName() const override
Definition: basicsetpointrequestevaluators.h:267
void cropAfterFirstStop(double vxslow)
remove SetPoints after first stop Method looks for first downward zero crossing of vx and removes all...
Definition: setpointrequest.h:412
SetPoint interpolateSetPoint(double t, adore::params::APVehicle *p) const
Definition: setpointrequest.h:145
void removeAfter(double t)
Definition: setpointrequest.h:211
void copyTo(SetPointRequest &destination) const
Definition: setpointrequest.h:293
std::vector< SetPoint > setPoints
Definition: setpointrequest.h:38
VehicleMotionState9d toMotionState() const
Definition: setpoint.h:46
virtual APLateralPlanner * getLateralPlanner() const =0
virtual APTacticalPlanner * getTacticalPlanner() const =0
virtual APTrajectoryGeneration * getTrajectoryGeneration() const =0
virtual APVehicle * getVehicle() const =0
virtual APLongitudinalPlanner * getLongitudinalPlanner() const =0
abstract classs containing parameters to configure aspects and constraints of the tactical planner
Definition: ap_tactical_planner.h:25
virtual double getTerminateAfterFirstStopThresholdSpeed() const =0
abstract class containing parameters to configure the behaviour of trajectory generation
Definition: ap_trajectory_generation.h:26
abstract class for vehicle configuration related paremeters
Definition: ap_vehicle.h:29
static adore::params::AFactory * get()
Definition: afactory.h:103
virtual ALane * getSourceLane()=0
Definition: areaofeffectconverter.h:20
Definition: planning_request.h:22
double t_emergency_start
Definition: planning_request.h:26
SetPoint initial_state
Definition: planning_request.h:27
long long int iteration
Definition: planning_request.h:23
Definition: planning_result.h:29
bool combined_maneuver_valid
Definition: planning_result.h:64
std::string name
Definition: planning_result.h:32
static const int NOMINAL_DRIVING
Definition: planning_result.h:75
std::string status_string
Definition: planning_result.h:65
std::unordered_map< std::string, double > objective_values
Definition: planning_result.h:68
int id
Definition: planning_result.h:30
int maneuver_type
Definition: planning_result.h:72
bool nominal_maneuver_valid
Definition: planning_result.h:63
int iteration
Definition: planning_result.h:31
SetPointRequest nominal_maneuver
Definition: planning_result.h:33
SetPointRequest combined_maneuver
Definition: planning_result.h:35