ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
lanecombinedgeometry.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 API and implementation
13  ********************************************************************************/
14 
15 #pragma once
19 
20 namespace adore
21 {
22  namespace env
23  {
24  namespace BorderBased
25  {
27  {
28  // private:
29  std::shared_ptr<LaneGeometryDataProxy> center;
30  std::shared_ptr<LaneGeometryDataProxy> left; // TODO left and right should actually not be needed
31  // since lanechange data has the information delta to build
32  // left and right from it using only data from center
33  std::shared_ptr<LaneChangeDataProxy> leftChange;
34  std::shared_ptr<LaneGeometryDataProxy> right;
35  std::shared_ptr<LaneChangeDataProxy> rightChange;
36 
37  public:
39  : center(std::make_shared<LaneGeometryDataProxy>())
40  , left(std::make_shared<LaneGeometryDataProxy>())
41  , leftChange(std::make_shared<LaneChangeDataProxy>())
42  , right(std::make_shared<LaneGeometryDataProxy>())
43  , rightChange(std::make_shared<LaneChangeDataProxy>())
44  {
45  }
46 
47  };
48  } // namespace BorderBased
49  } // namespace env
50 } // namespace adore
Definition: areaofeffectconverter.h:20
Definition: lanecombinedgeometry.h:27
std::shared_ptr< LaneGeometryDataProxy > center
Definition: lanecombinedgeometry.h:29
std::shared_ptr< LaneChangeDataProxy > rightChange
Definition: lanecombinedgeometry.h:35
std::shared_ptr< LaneChangeDataProxy > leftChange
Definition: lanecombinedgeometry.h:33
std::shared_ptr< LaneGeometryDataProxy > right
Definition: lanecombinedgeometry.h:34
std::shared_ptr< LaneGeometryDataProxy > left
Definition: lanecombinedgeometry.h:30
CombinedLaneGeometry()
Definition: lanecombinedgeometry.h:38
simple struct to hole data relevant to lane change geometry
Definition: lanechangedataproxy.h:32
Definition: lanegeometrydataproxy.h:25