ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
speedlimit.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  * Thomas Lobig - initial implementation and API
13  ********************************************************************************/
14 
15 #pragma once
16 
17 #include <vector>
18 
19 namespace adore
20 {
21  namespace env
22  {
28  typedef int TSpeedLimitID;
29 
30  struct SpeedLimit
31  {
33  {
34  value = 0.0;
35  startX = 0.0;
36  startY = 0.0;
37  stopX = 0.0;
38  stopY = 0.0;
39  }
40  double value;
41  double startX;
42  double startY;
43  double stopX;
44  double stopY;
46  };
47 
48 
49  typedef std::vector<SpeedLimit> TSpeedLimitBundle;
50  }
51 }
int TSpeedLimitID
speed limit information valid from startx/y to stopx/y - should match with respective lane
Definition: speedlimit.h:28
std::vector< SpeedLimit > TSpeedLimitBundle
Definition: speedlimit.h:49
Definition: areaofeffectconverter.h:20
Definition: speedlimit.h:31
double startX
Definition: speedlimit.h:41
double value
Definition: speedlimit.h:40
double stopY
Definition: speedlimit.h:44
TSpeedLimitID id
Definition: speedlimit.h:45
double stopX
Definition: speedlimit.h:43
double startY
Definition: speedlimit.h:42
SpeedLimit()
Definition: speedlimit.h:32