CARLA
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>;
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 
39  MSGPACK_DEFINE_ARRAY(bone_name, world, component, relative);
40  };
41 
42 } // namespace rpc
43 } // namespace carla
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:133
bool operator==(const BoneTransformDataOut &rhs) const
bool operator!=(const BoneTransformDataOut &rhs) const
MSGPACK_DEFINE_ARRAY(bone_name, world, component, relative)