CARLA
LibCarla
source
carla
rpc
BoneTransformDataOut.h
Go to the documentation of this file.
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::rpc::BoneTransformDataOut::relative
Transform relative
Definition:
BoneTransformDataOut.h:24
carla::rpc::BoneTransformDataOut
Definition:
BoneTransformDataOut.h:18
carla
This file contains definitions of common data structures used in traffic manager. ...
Definition:
Carla.cpp:133
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:34
carla::rpc::BoneTransformDataOut::operator!=
bool operator!=(const BoneTransformDataOut &rhs) const
Definition:
BoneTransformDataOut.h:26
carla::rpc::BoneTransformDataOut::MSGPACK_DEFINE_ARRAY
MSGPACK_DEFINE_ARRAY(bone_name, world, component, relative)
carla::rpc::BoneTransformDataOut::world
Transform world
Definition:
BoneTransformDataOut.h:22
carla::rpc::BoneTransformDataOut::component
Transform component
Definition:
BoneTransformDataOut.h:23
carla::geom::Transform
Definition:
geom/Transform.h:23
Transform.h
Generated by
1.8.13