ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
ap_trajectory_tracking_dummy.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
17 
18 namespace adore
19 {
20  namespace params
21  {
22 
28  {
29 
30  public:
32  virtual double getKey()const override
33  {
34  return 0.05;
35  }
37  virtual double getKepsi()const override
38  {
39  return 0.4;
40  }
42  virtual double getKeomega()const override
43  {
44  return 0.05;
45  }
47  virtual double getKIx()const override
48  {
49  return 0.1;
50  }
52  virtual double getK0x()const override
53  {
54  return 0.9;
55  }
57  virtual double getK1x()const override
58  {
59  return 1.6;
60  }
62  virtual double getMuCtrlMax()const override
63  {
64  return 1.0;
65  }
67  virtual double getAxMax()const override
68  {
69  return 2.0;
70  }
72  virtual double getAxMin()const override
73  {
74  return -3.0;
75  }
77  virtual double getExStatic()const override
78  {
79  return 0.0;
80  }
82  virtual double getEyStatic()const override
83  {
84  return 0.0;
85  }
87  virtual double getDDeltaMax()const override
88  {
89  return 0.1;//3.14/2.0/5.0/100.0;
90  }
92  virtual double getBrakingTorqueGain()const override
93  {
94  return 0.0;
95  }
97  virtual double getDBrakingTorqueMax()const override
98  {
99  return 0.0;
100  }
102  virtual double getKPev_r()const override
103  {
104  return 0.0;
105  }
107  virtual double getKIev_r()const override
108  {
109  return 0.0;
110  }
112  virtual double getKPex_r()const override
113  {
114  return 0.0;
115  }
117  virtual double getKIex_r()const override
118  {
119  return 0.0;
120  }
122  virtual double getKPey_r()const override
123  {
124  return 0.0;
125  }
127  virtual double getKPepsi_r()const override
128  {
129  return 0.0;
130  }
132  virtual double getKIepsi_r()const override
133  {
134  return 0.0;
135  }
136  virtual double getDeltaMax()const override
137  {
138  return 1.0;
139  }
141  virtual double getDeltaMin()const override
142  {
143  return -1.0;
144  }
145  };
146  }
147 }
a dummy implementation for testing purposes
Definition: ap_trajectory_tracking_dummy.h:28
virtual double getAxMin() const override
hard coded minimum longitudinal acceleration
Definition: ap_trajectory_tracking_dummy.h:72
virtual double getK0x() const override
returns P control gain for longitudinal direction
Definition: ap_trajectory_tracking_dummy.h:52
virtual double getKIepsi_r() const override
reverse controller: control gain for integrated psi error (I)
Definition: ap_trajectory_tracking_dummy.h:132
virtual double getKeomega() const override
lateral control gain for yaw rate error eomega
Definition: ap_trajectory_tracking_dummy.h:42
virtual double getKey() const override
lateral control gain for lateral error ey
Definition: ap_trajectory_tracking_dummy.h:32
virtual double getDDeltaMax() const override
steering angle: maximum absolute control input change per control update. Maximum steering rate then ...
Definition: ap_trajectory_tracking_dummy.h:87
virtual double getKIex_r() const override
reverse controller: control gain for integrated x error (I)
Definition: ap_trajectory_tracking_dummy.h:117
virtual double getExStatic() const override
static trajectory tracking offset in longitudinal direction, which should be compensated by tracking ...
Definition: ap_trajectory_tracking_dummy.h:77
virtual double getMuCtrlMax() const override
returns factor for maximum tire force requestable by controller, |f_requested|<muCtrlMax * f_max
Definition: ap_trajectory_tracking_dummy.h:62
virtual double getKPey_r() const override
reverse controller: control gain for y error (P)
Definition: ap_trajectory_tracking_dummy.h:122
virtual double getKPev_r() const override
reverse controller: control gain for speed error (P)
Definition: ap_trajectory_tracking_dummy.h:102
virtual double getKPepsi_r() const override
reverse controller: control gain for psi error (P)
Definition: ap_trajectory_tracking_dummy.h:127
virtual double getDBrakingTorqueMax() const override
returns maxium braking torque rate
Definition: ap_trajectory_tracking_dummy.h:97
virtual double getKepsi() const override
lateral control gain for yaw angle error epsi
Definition: ap_trajectory_tracking_dummy.h:37
virtual double getBrakingTorqueGain() const override
returns gain for braking torque calculation
Definition: ap_trajectory_tracking_dummy.h:92
virtual double getDeltaMax() const override
the maximum controllable steering angle
Definition: ap_trajectory_tracking_dummy.h:136
virtual double getDeltaMin() const override
the minimum controllable steering angle
Definition: ap_trajectory_tracking_dummy.h:141
virtual double getK1x() const override
returns D control gain for longitudinal direction
Definition: ap_trajectory_tracking_dummy.h:57
virtual double getKIx() const override
returns I control gain for longitudinal direction
Definition: ap_trajectory_tracking_dummy.h:47
virtual double getAxMax() const override
hard coded maximum longitudinal acceleration
Definition: ap_trajectory_tracking_dummy.h:67
virtual double getKPex_r() const override
reverse controller: control gain for x error (P)
Definition: ap_trajectory_tracking_dummy.h:112
virtual double getKIev_r() const override
reverse controller: control gain for integrated speed error (I)
Definition: ap_trajectory_tracking_dummy.h:107
virtual double getEyStatic() const override
static trajectory tracking offset in lateral direction, which should be compensated by tracking contr...
Definition: ap_trajectory_tracking_dummy.h:82
abstract class containing parameters to configure the behaviour of the trajactory tracking controller
Definition: ap_trajectory_tracking.h:26
Definition: areaofeffectconverter.h:20