CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
road
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
"
10
#include "
carla/road/RoadTypes.h
"
11
12
#include <string>
13
14
namespace
carla
{
15
namespace
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
NonCopyable.h
RoadTypes.h
carla::MovableNonCopyable
Inherit (privately) to suppress copy construction and assignment.
Definition
LibCarla/source/carla/NonCopyable.h:25
carla::road::Object
Definition
Object.h:17
carla::road::Object::_t
double _t
Definition
Object.h:28
carla::road::Object::_zOffset
double _zOffset
Definition
Object.h:29
carla::road::Object::_width
double _width
Definition
Object.h:33
carla::road::Object::_name
std::string _name
Definition
Object.h:26
carla::road::Object::_type
std::string _type
Definition
Object.h:25
carla::road::Object::_orientation
std::string _orientation
Definition
Object.h:31
carla::road::Object::_id
ObjId _id
Definition
Object.h:24
carla::road::Object::_pitch
double _pitch
Definition
Object.h:35
carla::road::Object::_hdg
double _hdg
Definition
Object.h:34
carla::road::Object::_lenght
double _lenght
Definition
Object.h:32
carla::road::Object::Object
Object()=default
carla::road::Object::_roll
double _roll
Definition
Object.h:36
carla::road::Object::_validLength
double _validLength
Definition
Object.h:30
carla::road::Object::_s
double _s
Definition
Object.h:27
carla::road::ObjId
uint32_t ObjId
Definition
RoadTypes.h:23
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0