CARLA
 
载入中...
搜索中...
未找到
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
10
11#include <string>
12#include <utility>
13
14namespace carla {
15namespace rpc {
16
17 // using BoneTransformDataOut = std::pair<std::string, geom::Transform>;
19 {
20 public:
21 std::string bone_name;
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
40 };
41
42} // namespace rpc
43} // namespace carla
bool operator!=(const BoneTransformDataOut &rhs) const
bool operator==(const BoneTransformDataOut &rhs) const
MSGPACK_DEFINE_ARRAY(bone_name, world, component, relative)
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133