ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
parkingspot.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 
16 #pragma once
17 
19 
20 namespace adore
21 {
22  namespace env
23  {
24  namespace BorderBased
25  {
31  {
33  double m_heading;
35  public:
41  {
43  m_heading = 0;
44  }
52  {
53  m_coordinate = coordinate;
55  }
61  double getHeading() const
62  {
63  return m_heading;
64  }
71  {
72  return m_coordinate;
73  }
79  void setHeading(double heading)
80  {
82  }
89  {
90  m_coordinate = c;
91  }
92  };
93  }
94  }
95 }
This class definition is to represent parking spots.
Definition: parkingspot.h:31
double m_heading
Definition: parkingspot.h:33
BorderBased::Coordinate m_coordinate
Definition: parkingspot.h:32
ParkingSpot(BorderBased::Coordinate coordinate, double heading)
Construct a new ParkingSpot object.
Definition: parkingspot.h:51
double getHeading() const
Get the heading of the parking spot.
Definition: parkingspot.h:61
ParkingSpot()
Construct a new ParkingSpot object.
Definition: parkingspot.h:40
void setHeading(double heading)
Set the heading of the parking spot.
Definition: parkingspot.h:79
BorderBased::Coordinate getCoordinate() const
Get the Coordinate object.
Definition: parkingspot.h:70
void setCoordinate(adore::env::BorderBased::Coordinate c)
Set the Coordinate.
Definition: parkingspot.h:88
ALFunction< T, T > * heading(AScalarToN< T, 2 > *df)
Definition: heading.h:114
Definition: areaofeffectconverter.h:20
This struct represents 3-dimensional coordines.
Definition: coordinate.h:34