CARLA
LabelledPoint.h
Go to the documentation of this file.
1 // Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
7 #pragma once
8 
9 #include "carla/MsgPack.h"
10 #include "carla/rpc/Location.h"
11 #include "carla/rpc/ObjectLabel.h"
12 
13 namespace carla {
14 namespace rpc {
15 
16  struct LabelledPoint {
17 
20  : _location(location), _label(label)
21  {}
22 
24 
26 
27  MSGPACK_DEFINE_ARRAY(_location, _label);
28 
29  };
30 
31 }
32 }
MSGPACK_DEFINE_ARRAY(_location, _label)
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:99
CityObjectLabel _label
Definition: LabelledPoint.h:25
LabelledPoint(Location location, CityObjectLabel label)
Definition: LabelledPoint.h:19