ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
anominalplanner.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 
19 
20 namespace adore
21 {
22  namespace fun
23  {
28  {
29  public:
33  virtual void compute(const VehicleMotionState9d& initial_state) = 0;
37  virtual bool hasValidPlan()const = 0;
41  virtual const SetPointRequest* getSetPointRequest()const =0;
45  virtual double getCPUTime()const = 0;
46  };
47 
52  {
53  public:
55  {
57  };
65  virtual double getValue(double t,double s,double ds)const =0;
73  virtual void update(double t0,double s0,double ds0)=0;
83  virtual int getDimension()=0;
88  virtual int getDerivative()=0;
89  };
90 
96  {
97  public:
104  virtual bool getValueIfAvailable(double t, double s, double ds,double & ref)const =0;
112  virtual void update(double t0,double s0,double ds0)=0;
117  virtual int getDimension()=0;
122  virtual int getDerivative()=0;
123  };
124  }
125 }
Definition: anominalplanner.h:52
virtual ConstraintDirection getDirection()=0
ConstraintDirection
Definition: anominalplanner.h:55
@ LB
Definition: anominalplanner.h:56
@ UB
Definition: anominalplanner.h:56
virtual double getValue(double t, double s, double ds) const =0
virtual void update(double t0, double s0, double ds0)=0
Definition: anominalplanner.h:28
virtual double getCPUTime() const =0
virtual void compute(const VehicleMotionState9d &initial_state)=0
virtual const SetPointRequest * getSetPointRequest() const =0
virtual bool hasValidPlan() const =0
Definition: anominalplanner.h:96
virtual bool getValueIfAvailable(double t, double s, double ds, double &ref) const =0
virtual void update(double t0, double s0, double ds0)=0
Definition: setpointrequest.h:35
Definition: areaofeffectconverter.h:20
This struct holds the motion state of the vehicle in 9d.
Definition: vehiclemotionstate9d.h:39