ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
areaofeffectconverter.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_if_ros_msg/AreaOfEffect.h>
18 
19 namespace adore
20 {
21  namespace if_ROS
22  {
27  {
32  {
34  for(auto point:aoe)
35  {
36  msg.X.push_back(point.first);
37  msg.Y.push_back(point.second);
38  }
39  return msg;
40  }
41  };
42  }
43 }
std::vector< std::pair< double, double > > AreaOfEffect
Definition: areaofeffect.h:20
Definition: areaofeffectconverter.h:20
Definition: areaofeffectconverter.h:27
adore_if_ros_msg::AreaOfEffect operator()(const adore::env::AreaOfEffect &aoe)
Definition: areaofeffectconverter.h:31