ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
resetvehicletwist.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 sim
20  {
26  {
27  private:
28  double vx;
29  double omega;
30  double vy;
31  public:
32  double getVx() const{
33  return this->vx;
34  }
35  void setVx(double vx) {
36  this->vx = vx;
37  }
38 
39 
40 
41  double getVy() const {
42  return this->vy;
43  }
44  void setVy(double vy) {
45  this->vy = vy;
46  }
47 
48 
49 
50  double getOmega() const {
51  return this->omega;
52  }
53  void setOmega(double omega) {
54  this->omega = omega;
55  }
56 
57 
58  };
59  }
60 }
Definition: areaofeffectconverter.h:20
provides encapsulation of values needed to reset the vehicle twist (vx,vy and omega) in a simulation
Definition: resetvehicletwist.h:26
double vy
Definition: resetvehicletwist.h:30
double getVy() const
Definition: resetvehicletwist.h:41
double vx
Definition: resetvehicletwist.h:28
void setOmega(double omega)
Definition: resetvehicletwist.h:53
void setVx(double vx)
Definition: resetvehicletwist.h:35
void setVy(double vy)
Definition: resetvehicletwist.h:44
double omega
Definition: resetvehicletwist.h:29
double getVx() const
Definition: resetvehicletwist.h:32
double getOmega() const
Definition: resetvehicletwist.h:50