ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
normaloffset.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/alfunction.h>
17 #include <adore/mad/rotations.h>
18 
19 namespace adore
20 {
21  namespace mad
22  {
30  template<typename T>
32  {
33  return funop::add(
34  path,
36  heading,
38  new LConstFun<T, T>((T)0,path->limitLo(),path->limitHi()), //0
39  distance
40  )
41  )
42  );
43  }
44  }
45 }
Definition: alfunction.h:74
Definition: alfunction.h:287
ALFunction< T, adoreMatrix< T, Na+Nb, 1 > > * stack(ALFunction< T, adoreMatrix< T, Na, 1 >> *a, ALFunction< T, adoreMatrix< T, Nb, 1 >> *b)
Definition: alfunction.h:787
ALFunction< T, T > * heading(AScalarToN< T, 2 > *df)
Definition: heading.h:114
ALFunction< DT, CT > * add(ALFunction< DT, CT > *a, ALFunction< DT, CT > *b)
Definition: alfunction.h:742
ALFunction< T, adoreMatrix< T, 2, 1 > > * rotate(ALFunction< T, T > *angle, ALFunction< T, adoreMatrix< T, 2, 1 >> *vector)
Definition: rotations.h:157
ALFunction< T, adoreMatrix< T, 2, 1 > > * create_normalOffset(ALFunction< T, adoreMatrix< T, 2, 1 >> *path, ALFunction< T, T > *heading, ALFunction< T, T > *distance)
Definition: normaloffset.h:31
Definition: areaofeffectconverter.h:20