ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
gapdata.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 #pragma once
15 #include <adore/view/agap.h>
16 #include <math.h>
17 #include <vector>
18 
19 namespace adore
20 {
21 namespace env
22 {
26  struct GapData
27  {
28  public:
29  double rating;
30  bool feasible;
31  double anchor_X;
32  double anchor_Y;
33  double anchor_Z;
34  double anchor_dX;
35  double anchor_dY;
36  double anchor_dZ;
37  double anchor_vt;
38  double t_obs;
41  double s_lead;
42  double s_chase;
43  double v_lead;
44  double v_chase;
45  double s_anchor;
49  :rating(1.0e99),feasible(true),anchor_X(0.0),anchor_Y(0.0),anchor_Z(0.0),anchor_dX(0.0),anchor_dY(0.0),anchor_dZ(0.0),anchor_vt(0.0),
50  t_obs(0.0),lead_exists(false),chase_exists(false),s_lead(0.0),s_chase(0.0),
51  v_lead(0.0),v_chase(0.0),s_anchor(0.0),s_gate_opening(0.0),s_gate_closure(0.0){}
52  };
53  typedef std::vector<GapData> GapQueue;
54 }
55 }
std::vector< GapData > GapQueue
Definition: gapdata.h:53
Definition: areaofeffectconverter.h:20
Definition: gapdata.h:27
GapData()
Definition: gapdata.h:48
double v_lead
Definition: gapdata.h:43
bool lead_exists
Definition: gapdata.h:39
double anchor_dY
Definition: gapdata.h:35
double s_lead
Definition: gapdata.h:41
bool chase_exists
Definition: gapdata.h:40
double s_gate_opening
Definition: gapdata.h:46
double anchor_Z
Definition: gapdata.h:33
double anchor_X
Definition: gapdata.h:31
bool feasible
Definition: gapdata.h:30
double v_chase
Definition: gapdata.h:44
double anchor_dX
Definition: gapdata.h:34
double anchor_Y
Definition: gapdata.h:32
double rating
Definition: gapdata.h:29
double anchor_vt
Definition: gapdata.h:37
double t_obs
Definition: gapdata.h:38
double s_chase
Definition: gapdata.h:42
double anchor_dZ
Definition: gapdata.h:36
double s_anchor
Definition: gapdata.h:45
double s_gate_closure
Definition: gapdata.h:47