pose.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/pose.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_POSE_H
6 #define realsense_legacy_msgs_MESSAGE_POSE_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
18 #include <geometry_msgs/Vector3.h>
20 #include <geometry_msgs/Vector3.h>
21 #include <geometry_msgs/Vector3.h>
22 #include <geometry_msgs/Vector3.h>
23 #include <geometry_msgs/Vector3.h>
24 
25 namespace realsense_legacy_msgs
26 {
27 template <class ContainerAllocator>
28 struct pose_
29 {
31 
33  : translation()
34  , rotation()
35  , velocity()
37  , acceleration()
39  , timestamp(0)
40  , system_timestamp(0) {
41  }
42  pose_(const ContainerAllocator& _alloc)
43  : translation(_alloc)
44  , rotation(_alloc)
45  , velocity(_alloc)
46  , angular_velocity(_alloc)
47  , acceleration(_alloc)
48  , angular_acceleration(_alloc)
49  , timestamp(0)
50  , system_timestamp(0) {
51  (void)_alloc;
52  }
53 
54 
55 
56  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _translation_type;
57  _translation_type translation;
58 
59  typedef ::geometry_msgs::Quaternion_<ContainerAllocator> _rotation_type;
60  _rotation_type rotation;
61 
62  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _velocity_type;
63  _velocity_type velocity;
64 
65  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _angular_velocity_type;
66  _angular_velocity_type angular_velocity;
67 
68  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _acceleration_type;
69  _acceleration_type acceleration;
70 
71  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _angular_acceleration_type;
72  _angular_acceleration_type angular_acceleration;
73 
75  _timestamp_type timestamp;
76 
78  _system_timestamp_type system_timestamp;
79 
80 
81 
82 
83  typedef std::shared_ptr< ::realsense_legacy_msgs::pose_<ContainerAllocator> > Ptr;
84  typedef std::shared_ptr< ::realsense_legacy_msgs::pose_<ContainerAllocator> const> ConstPtr;
85 
86 }; // struct pose_
87 
88 typedef ::realsense_legacy_msgs::pose_<std::allocator<void> > pose;
89 
90 typedef std::shared_ptr< ::realsense_legacy_msgs::pose > posePtr;
91 typedef std::shared_ptr< ::realsense_legacy_msgs::pose const> poseConstPtr;
92 
93 // constants requiring out of line definition
94 
95 
96 
97 template<typename ContainerAllocator>
98 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::pose_<ContainerAllocator> & v)
99 {
101 return s;
102 }
103 
104 } // namespace realsense_legacy_msgs
105 
106 namespace rs2rosinternal
107 {
108 namespace message_traits
109 {
110 
111 
112 
113 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
114 // {'sensor_msgs': ['/opt/ros/kinetic/share/sensor_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'realsense_legacy_msgs': ['/home/administrator/ros/realsense_sdk_internal/sdk_internal/tools/realsense_legacy_msgs_generator/msg']}
115 
116 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
117 
118 
119 
120 
121 template <class ContainerAllocator>
122 struct IsFixedSize< ::realsense_legacy_msgs::pose_<ContainerAllocator> >
123  : TrueType
124  { };
125 
126 template <class ContainerAllocator>
127 struct IsFixedSize< ::realsense_legacy_msgs::pose_<ContainerAllocator> const>
128  : TrueType
129  { };
130 
131 template <class ContainerAllocator>
132 struct IsMessage< ::realsense_legacy_msgs::pose_<ContainerAllocator> >
133  : TrueType
134  { };
135 
136 template <class ContainerAllocator>
137 struct IsMessage< ::realsense_legacy_msgs::pose_<ContainerAllocator> const>
138  : TrueType
139  { };
140 
141 template <class ContainerAllocator>
142 struct HasHeader< ::realsense_legacy_msgs::pose_<ContainerAllocator> >
143  : FalseType
144  { };
145 
146 template <class ContainerAllocator>
147 struct HasHeader< ::realsense_legacy_msgs::pose_<ContainerAllocator> const>
148  : FalseType
149  { };
150 
151 
152 template<class ContainerAllocator>
153 struct MD5Sum< ::realsense_legacy_msgs::pose_<ContainerAllocator> >
154 {
155  static const char* value()
156  {
157  return "befd7be861f6533fae56f3f40630413c";
158  }
159 
160  static const char* value(const ::realsense_legacy_msgs::pose_<ContainerAllocator>&) { return value(); }
161  static const uint64_t static_value1 = 0xbefd7be861f6533fULL;
162  static const uint64_t static_value2 = 0xae56f3f40630413cULL;
163 };
164 
165 template<class ContainerAllocator>
166 struct DataType< ::realsense_legacy_msgs::pose_<ContainerAllocator> >
167 {
168  static const char* value()
169  {
170  return "realsense_legacy_msgs/pose";
171  }
172 
173  static const char* value(const ::realsense_legacy_msgs::pose_<ContainerAllocator>&) { return value(); }
174 };
175 
176 template<class ContainerAllocator>
177 struct Definition< ::realsense_legacy_msgs::pose_<ContainerAllocator> >
178 {
179  static const char* value()
180  {
181  return "geometry_msgs/Vector3 translation\n\
182 geometry_msgs/Quaternion rotation \n\
183 geometry_msgs/Vector3 velocity \n\
184 geometry_msgs/Vector3 angular_velocity \n\
185 geometry_msgs/Vector3 acceleration \n\
186 geometry_msgs/Vector3 angular_acceleration\n\
187 uint64 timestamp\n\
188 uint64 system_timestamp\n\
189 \n\
190 ================================================================================\n\
191 MSG: geometry_msgs/Vector3\n\
192 # This represents a vector in free space. \n\
193 # It is only meant to represent a direction. Therefore, it does not\n\
194 # make sense to apply a translation to it (e.g., when applying a \n\
195 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
196 # rotation). If you want your data to be translatable too, use the\n\
197 # geometry_msgs/Point message instead.\n\
198 \n\
199 float64 x\n\
200 float64 y\n\
201 float64 z\n\
202 ================================================================================\n\
203 MSG: geometry_msgs/Quaternion\n\
204 # This represents an orientation in free space in quaternion form.\n\
205 \n\
206 float64 x\n\
207 float64 y\n\
208 float64 z\n\
209 float64 w\n\
210 ";
211  }
212 
213  static const char* value(const ::realsense_legacy_msgs::pose_<ContainerAllocator>&) { return value(); }
214 };
215 
216 } // namespace message_traits
217 } // namespace rs2rosinternal
218 
219 namespace rs2rosinternal
220 {
221 namespace serialization
222 {
223 
224  template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::pose_<ContainerAllocator> >
225  {
226  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
227  {
228  stream.next(m.translation);
229  stream.next(m.rotation);
230  stream.next(m.velocity);
231  stream.next(m.angular_velocity);
232  stream.next(m.acceleration);
233  stream.next(m.angular_acceleration);
234  stream.next(m.timestamp);
235  stream.next(m.system_timestamp);
236  }
237 
239  }; // struct pose_
240 
241 } // namespace serialization
242 } // namespace rs2rosinternal
243 
244 namespace rs2rosinternal
245 {
246 namespace message_operations
247 {
248 
249 template<class ContainerAllocator>
250 struct Printer< ::realsense_legacy_msgs::pose_<ContainerAllocator> >
251 {
252  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::pose_<ContainerAllocator>& v)
253  {
254  s << indent << "translation: ";
255  s << std::endl;
256  Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.translation);
257  s << indent << "rotation: ";
258  s << std::endl;
260  s << indent << "velocity: ";
261  s << std::endl;
263  s << indent << "angular_velocity: ";
264  s << std::endl;
265  Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.angular_velocity);
266  s << indent << "acceleration: ";
267  s << std::endl;
268  Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.acceleration);
269  s << indent << "angular_acceleration: ";
270  s << std::endl;
271  Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.angular_acceleration);
272  s << indent << "timestamp: ";
273  Printer<uint64_t>::stream(s, indent + " ", v.timestamp);
274  s << indent << "system_timestamp: ";
275  Printer<uint64_t>::stream(s, indent + " ", v.system_timestamp);
276  }
277 };
278 
279 } // namespace message_operations
280 } // namespace rs2rosinternal
281 
282 #endif // realsense_legacy_msgs_MESSAGE_POSE_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
uint64_t _timestamp_type
Definition: pose.h:74
GLdouble s
const GLfloat * m
Definition: glext.h:6814
_velocity_type velocity
Definition: pose.h:63
Specialize to provide the md5sum for a message.
std::shared_ptr< ::realsense_legacy_msgs::pose_< ContainerAllocator > > Ptr
Definition: pose.h:83
_rotation_type rotation
Definition: pose.h:60
std::shared_ptr< ::realsense_legacy_msgs::pose const > poseConstPtr
Definition: pose.h:91
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
_translation_type translation
Definition: pose.h:57
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
GLuint GLuint stream
Definition: glext.h:1790
::geometry_msgs::Vector3_< ContainerAllocator > _acceleration_type
Definition: pose.h:68
static const char * value(const ::realsense_legacy_msgs::pose_< ContainerAllocator > &)
Definition: pose.h:160
static const char * value(const ::realsense_legacy_msgs::pose_< ContainerAllocator > &)
Definition: pose.h:173
::realsense_legacy_msgs::pose_< std::allocator< void > > pose
Definition: pose.h:88
_angular_velocity_type angular_velocity
Definition: pose.h:66
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
pose_(const ContainerAllocator &_alloc)
Definition: pose.h:42
Stream base-class, provides common functionality for IStream and OStream.
_timestamp_type timestamp
Definition: pose.h:75
static const char * value(const ::realsense_legacy_msgs::pose_< ContainerAllocator > &)
Definition: pose.h:213
pose_< ContainerAllocator > Type
Definition: pose.h:30
std::shared_ptr< ::realsense_legacy_msgs::pose_< ContainerAllocator > const > ConstPtr
Definition: pose.h:84
uint64_t _system_timestamp_type
Definition: pose.h:77
::geometry_msgs::Vector3_< ContainerAllocator > _angular_acceleration_type
Definition: pose.h:71
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Definition: stdint.h:90
std::shared_ptr< ::realsense_legacy_msgs::pose > posePtr
Definition: pose.h:90
Specialize to provide the definition for a message.
::geometry_msgs::Vector3_< ContainerAllocator > _velocity_type
Definition: pose.h:62
::geometry_msgs::Quaternion_< ContainerAllocator > _rotation_type
Definition: pose.h:59
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::pose_< ContainerAllocator > &v)
Definition: pose.h:252
::geometry_msgs::Vector3_< ContainerAllocator > _angular_velocity_type
Definition: pose.h:65
_system_timestamp_type system_timestamp
Definition: pose.h:78
::geometry_msgs::Vector3_< ContainerAllocator > _translation_type
Definition: pose.h:56
_acceleration_type acceleration
Definition: pose.h:69
_angular_acceleration_type angular_acceleration
Definition: pose.h:72
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:39