CARLA
 
载入中...
搜索中...
未找到
Object.h
浏览该文件的文档.
1// Copyright (c) 2019 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/NonCopyable.h"
11
12#include <string>
13
14namespace carla {
15namespace road {
16
17 class Object : private MovableNonCopyable {
18 public:
19
20 Object() = default;
21
22 private:
23
24 ObjId _id = 0u;
25 std::string _type;
26 std::string _name;
27 double _s = 0.0;
28 double _t = 0.0;
29 double _zOffset = 0.0;
30 double _validLength = 0.0;
31 std::string _orientation;
32 double _lenght = 0.0;
33 double _width = 0.0;
34 double _hdg = 0.0;
35 double _pitch = 0.0;
36 double _roll = 0.0;
37 };
38
39} // road
40} // carla
Inherit (privately) to suppress copy construction and assignment.
std::string _name
Definition Object.h:26
std::string _type
Definition Object.h:25
std::string _orientation
Definition Object.h:31
double _validLength
Definition Object.h:30
uint32_t ObjId
Definition RoadTypes.h:23
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133