CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
rpc
BoneTransformDataOut.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/rpc/Transform.h
"
10
11
#include <string>
12
#include <utility>
13
14
namespace
carla
{
15
namespace
rpc {
16
17
// using BoneTransformDataOut = std::pair<std::string, geom::Transform>;
18
class
BoneTransformDataOut
19
{
20
public
:
21
std::string
bone_name
;
22
Transform
world
;
23
Transform
component
;
24
Transform
relative
;
25
26
bool
operator!=
(
const
BoneTransformDataOut
&rhs)
const
{
27
return
28
bone_name
!= rhs.
bone_name
||
29
world
!= rhs.
world
||
30
component
!= rhs.
component
||
31
relative
!= rhs.
relative
;
32
}
33
34
bool
operator==
(
const
BoneTransformDataOut
&rhs)
const
{
35
return
!(*
this
!= rhs);
36
}
37
38
39
MSGPACK_DEFINE_ARRAY
(
bone_name
,
world
,
component
,
relative
);
40
};
41
42
}
// namespace rpc
43
}
// namespace carla
carla::geom::Transform
Definition
geom/Transform.h:23
carla::rpc::BoneTransformDataOut
Definition
BoneTransformDataOut.h:19
carla::rpc::BoneTransformDataOut::component
Transform component
Definition
BoneTransformDataOut.h:23
carla::rpc::BoneTransformDataOut::bone_name
std::string bone_name
Definition
BoneTransformDataOut.h:21
carla::rpc::BoneTransformDataOut::operator!=
bool operator!=(const BoneTransformDataOut &rhs) const
Definition
BoneTransformDataOut.h:26
carla::rpc::BoneTransformDataOut::operator==
bool operator==(const BoneTransformDataOut &rhs) const
Definition
BoneTransformDataOut.h:34
carla::rpc::BoneTransformDataOut::world
Transform world
Definition
BoneTransformDataOut.h:22
carla::rpc::BoneTransformDataOut::relative
Transform relative
Definition
BoneTransformDataOut.h:24
carla::rpc::BoneTransformDataOut::MSGPACK_DEFINE_ARRAY
MSGPACK_DEFINE_ARRAY(bone_name, world, component, relative)
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
Transform.h
制作者
1.10.0