ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
motioncommand.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  * Daniel Heß - initial API and implementation
13  ********************************************************************************/
14 
15 #pragma once
16 
17 namespace adore
18 {
19  namespace fun
20  {
26  {
27  private:
29  double acceleration_;
30  public:
31 
33  {
34  steeringAngle_ = 0.0;
35  acceleration_ = 0.0;
36  }
37  double getSteeringAngle() const
38  {
39  return this->steeringAngle_;
40  }
41  void setSteeringAngle(double steeringAngle)
42  {
43  this->steeringAngle_ = steeringAngle;
44  }
45 
46 
47  double getAcceleration() const
48  {
49  return this->acceleration_;
50  }
51  void setAcceleration(double acceleration)
52  {
53  this->acceleration_ = acceleration;
54  }
55 
56 
57  };
58  }
59 }
Definition: motioncommand.h:26
MotionCommand()
Definition: motioncommand.h:32
void setAcceleration(double acceleration)
Definition: motioncommand.h:51
double getSteeringAngle() const
Definition: motioncommand.h:37
double steeringAngle_
Definition: motioncommand.h:28
double getAcceleration() const
Definition: motioncommand.h:47
double acceleration_
Definition: motioncommand.h:29
void setSteeringAngle(double steeringAngle)
Definition: motioncommand.h:41
Definition: areaofeffectconverter.h:20