ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
zonotope_tube.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 #include <adore/mad/zonotope.h>
17 #include <adore/mad/alfunction.h>
18 #include <adore/mad/oderk4.h>
19 
20 
21 namespace adore
22 {
23  namespace fun
24  {
28  template<int nx,int nu,int nd,int nm,int ntau,int ngen>
30  {
31  public:
36 
37  //required:
38  // - reference trajectory: state and feed-forward control (@TODO define constraints and reference for emplanner)
39  // - open loop system model f
40  // - feedback controller c
41  // - disturbance error zonotope
42  // - measurement error zonotope
43 
44  void compute()
45  {
46  //compute \bar{x}(t) with ode-solver: closed-loop model wrt reference trajectory, considering \bar{x}(t0) as measured initial state
47  // use a rough time discretization, 0.01
48  //loop through all time steps
49  // compute derivatives df/dex, df/deu, df/ded, K=dc/dex
50  // (allow client application to supply derivatives)
51  // compute matrix exponential // or approximate initial value problem for all generators? (check that in matlab..., what is matthias algorithm?)
52  }
53 
54  };
55  }
56 }
Definition: zonotope_tube.h:30
adore::mad::Zonotope< double, nd, 50 > TZd
Definition: zonotope_tube.h:34
adore::mad::Zonotope< double, nx, 50 > TZm
Definition: zonotope_tube.h:35
void compute()
Definition: zonotope_tube.h:44
adore::mad::Zonotope< double, nx+nu, ngen > TZr
Definition: zonotope_tube.h:33
adore::mad::AScalarToN< double, ntau > Ttrajectory
Definition: zonotope_tube.h:32
Definition: alfunction.h:214
Definition: zonotope.h:33
Definition: areaofeffectconverter.h:20