ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
paramsfactory.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2017-2020 German Aerospace Center (DLR).
3  * Eclipse ADORe, Automated Driving Open Research https://eclipse.org/adore
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License 2.0 which is available at
7  * http://www.eclipse.org/legal/epl-2.0.
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  * Jan Lauermann - initial API and implementation
13  ********************************************************************************/
14 
15 #pragma once
16 
17 #include <ros/ros.h>
18 #include <adore/params/afactory.h>
40 
41 namespace adore
42 {
43  namespace if_ROS
44  {
49  {
50  private:
51  ros::NodeHandle n_;
52  std::string prefix_;
53 
54  public:
55  PARAMS_Factory(ros::NodeHandle n,std::string prefix):n_(n)
56  {
57  prefix_ = prefix + "PARAMS/";
58  }
59  virtual adore::params::APVehicle* getVehicle()const override
60  {
62  }
64  {
66  }
68  {
70  }
72  {
74  }
76  {
78  }
79  virtual adore::params::APNavigation* getNavigation()const override
80  {
82  }
84  {
86  }
88  {
90  }
92  {
94  }
96  {
98  }
100  {
102  }
104  {
106  }
108  {
110  }
112  {
114  }
116  {
118  }
120  {
122  }
124  {
126  }
128  {
130  }
131  virtual adore::params::APPrediction* getPrediction() const override
132  {
134  }
136  {
138  }
140  {
142  }
143  };
144  }
145 }
Definition: paramsfactory.h:49
PARAMS_Factory(ros::NodeHandle n, std::string prefix)
Definition: paramsfactory.h:55
virtual adore::params::APCheckpoints * getCheckpoints() const override
Definition: paramsfactory.h:123
virtual adore::params::APLongitudinalPlanner * getLongitudinalPlanner() const override
Definition: paramsfactory.h:107
virtual adore::params::APLateralPlanner * getLateralPlanner() const override
Definition: paramsfactory.h:111
virtual adore::params::APVehicle * getVehicle() const override
Definition: paramsfactory.h:59
virtual adore::params::APTrajectoryTracking * getTrajectoryTracking() const override
Definition: paramsfactory.h:67
virtual adore::params::APPrediction * getPrediction() const override
Definition: paramsfactory.h:131
virtual adore::params::APNavigation * getNavigation() const override
Definition: paramsfactory.h:79
virtual adore::params::APLocalizationModel * getLocalizationModel() const override
Definition: paramsfactory.h:139
virtual adore::params::APTrajectoryGeneration * getTrajectoryGeneration() const override
Definition: paramsfactory.h:63
virtual adore::params::APLocalRoadMap * getLocalRoadMap() const override
Definition: paramsfactory.h:103
virtual adore::params::APLaneChangeView * getLaneChangeView() const override
Definition: paramsfactory.h:95
virtual adore::params::APEmergencyOperation * getEmergencyOperation() const override
Definition: paramsfactory.h:87
virtual adore::params::APMapProvider * getMapProvider() const override
Definition: paramsfactory.h:75
virtual adore::params::APOdometryModel * getOdometryModel() const override
Definition: paramsfactory.h:135
ros::NodeHandle n_
Definition: paramsfactory.h:51
virtual adore::params::APMissionControl * getMissionControl() const override
Definition: paramsfactory.h:127
virtual adore::params::APTacticalPlanner * getTacticalPlanner() const override
Definition: paramsfactory.h:71
virtual adore::params::APCooperation * getCooperation() const override
Definition: paramsfactory.h:83
std::string prefix_
Definition: paramsfactory.h:52
virtual adore::params::APFunctionManagement * getFunctionmanagement() const override
Definition: paramsfactory.h:91
virtual adore::params::APTrafficLightSim * getTrafficLightSim() const override
Definition: paramsfactory.h:115
virtual adore::params::APLaneFollowingView * getLaneFollowingView() const override
Definition: paramsfactory.h:99
virtual adore::params::APSensorModel * getSensorModel() const override
Definition: paramsfactory.h:119
Definition: p_checkpoints.h:28
Definition: p_cooperation.h:28
Definition: p_emergency_operation.h:29
Definition: p_function_management.h:28
Definition: p_lane_change_view.h:28
Definition: p_lane_following_view.h:28
Definition: p_lateral_planner.h:28
Definition: p_local_road_map.h:28
Definition: p_localizationmodel.h:28
Definition: p_longitudinal_planner.h:28
Definition: p_map_provider.h:28
Definition: p_mission_control.h:28
Definition: p_navigation.h:28
Definition: p_odometrymodel.h:28
Definition: p_prediction.h:28
Definition: p_sensor_model.h:28
Definition: p_tactical_planner.h:28
Definition: p_traffic_light_sim.h:27
Definition: p_trajectory_generation.h:28
Definition: p_trajectory_tracking.h:28
Definition: p_vehicle.h:28
abstract factory for adore::params classes
Definition: afactory.h:54
abstract class containing parameters for checkpoint handling
Definition: ap_checkpoints.h:25
abstract class containing cooperative behaviour parameters
Definition: ap_cooperation.h:26
abstract class containing parameters concerning emergency operation behaviour
Definition: ap_emergency_operation.h:25
abstract class containing parameters for function management configuration
Definition: ap_function_management.h:25
abstract class containing parameters for a lane change view
Definition: ap_lane_change_view.h:25
abstract class containing parameters for a lane following view
Definition: ap_lane_following_view.h:25
abstract class containing parameters related to configuring the lateral planner
Definition: ap_lateral_planner.h:26
abstract class to configure the local view of the road map
Definition: ap_local_road_map.h:26
abstract class containing parameters which configure localization state estimation model
Definition: ap_localizationmodel.h:26
abstract class containing parameters related to configuring the longitudinal planner
Definition: ap_longitudinal_planner.h:26
abstract class containing parameters to configure aspects of the map provider
Definition: ap_map_provider.h:25
abstract class containing parameters for mission controller configuration
Definition: ap_mission_control.h:25
abstract class containing parameters which configure navigation behaviour
Definition: ap_navigation.h:25
abstract class containing parameters which configure odometry state estimation model
Definition: ap_odometrymodel.h:26
parameter interface for parameters related to prediction
Definition: ap_prediction.h:28
abstract class for vehicle sensor model parameters
Definition: ap_sensor_model.h:27
abstract classs containing parameters to configure aspects and constraints of the tactical planner
Definition: ap_tactical_planner.h:25
abstract class containing parameters to configure aspects of the map provider
Definition: ap_traffic_light_sim.h:27
abstract class containing parameters to configure the behaviour of trajectory generation
Definition: ap_trajectory_generation.h:26
abstract class containing parameters to configure the behaviour of the trajactory tracking controller
Definition: ap_trajectory_tracking.h:26
abstract class for vehicle configuration related paremeters
Definition: ap_vehicle.h:29
Definition: areaofeffectconverter.h:20