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
;
39
bool
lead_exists
;
40
bool
chase_exists
;
41
double
s_lead
;
42
double
s_chase
;
43
double
v_lead
;
44
double
v_chase
;
45
double
s_anchor
;
46
double
s_gate_opening
;
47
double
s_gate_closure
;
48
GapData
()
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
}
agap.h
adore::env::GapQueue
std::vector< GapData > GapQueue
Definition:
gapdata.h:53
adore
Definition:
areaofeffectconverter.h:20
adore::env::GapData
Definition:
gapdata.h:27
adore::env::GapData::GapData
GapData()
Definition:
gapdata.h:48
adore::env::GapData::v_lead
double v_lead
Definition:
gapdata.h:43
adore::env::GapData::lead_exists
bool lead_exists
Definition:
gapdata.h:39
adore::env::GapData::anchor_dY
double anchor_dY
Definition:
gapdata.h:35
adore::env::GapData::s_lead
double s_lead
Definition:
gapdata.h:41
adore::env::GapData::chase_exists
bool chase_exists
Definition:
gapdata.h:40
adore::env::GapData::s_gate_opening
double s_gate_opening
Definition:
gapdata.h:46
adore::env::GapData::anchor_Z
double anchor_Z
Definition:
gapdata.h:33
adore::env::GapData::anchor_X
double anchor_X
Definition:
gapdata.h:31
adore::env::GapData::feasible
bool feasible
Definition:
gapdata.h:30
adore::env::GapData::v_chase
double v_chase
Definition:
gapdata.h:44
adore::env::GapData::anchor_dX
double anchor_dX
Definition:
gapdata.h:34
adore::env::GapData::anchor_Y
double anchor_Y
Definition:
gapdata.h:32
adore::env::GapData::rating
double rating
Definition:
gapdata.h:29
adore::env::GapData::anchor_vt
double anchor_vt
Definition:
gapdata.h:37
adore::env::GapData::t_obs
double t_obs
Definition:
gapdata.h:38
adore::env::GapData::s_chase
double s_chase
Definition:
gapdata.h:42
adore::env::GapData::anchor_dZ
double anchor_dZ
Definition:
gapdata.h:36
adore::env::GapData::s_anchor
double s_anchor
Definition:
gapdata.h:45
adore::env::GapData::s_gate_closure
double s_gate_closure
Definition:
gapdata.h:47
libadore
libadore
adore
env
include
adore
env
traffic
gapdata.h
Generated by
1.9.1