motion_intrinsics.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/motion_intrinsics.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_MOTION_INTRINSICS_H
6 #define realsense_legacy_msgs_MESSAGE_MOTION_INTRINSICS_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <array>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
17 #include <ros/message_operations.h>
18 
19 
20 namespace realsense_legacy_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : data()
29  , noise_variances()
30  , bias_variances() {
31  data.fill(0.0);
32 
33  noise_variances.fill(0.0);
34 
35  bias_variances.fill(0.0);
36  }
37  motion_intrinsics_(const ContainerAllocator& _alloc)
38  : data()
39  , noise_variances()
40  , bias_variances() {
41  (void)_alloc;
42  data.fill(0.0);
43 
44  noise_variances.fill(0.0);
45 
46  bias_variances.fill(0.0);
47  }
48 
49 
50 
51  typedef std::array<float, 12> _data_type;
52  _data_type data;
53 
54  typedef std::array<float, 3> _noise_variances_type;
55  _noise_variances_type noise_variances;
56 
57  typedef std::array<float, 3> _bias_variances_type;
58  _bias_variances_type bias_variances;
59 
60 
61 
62 
63  typedef std::shared_ptr< ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> > Ptr;
64  typedef std::shared_ptr< ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> const> ConstPtr;
65 
66 }; // struct motion_intrinsics_
67 
68 typedef ::realsense_legacy_msgs::motion_intrinsics_<std::allocator<void> > motion_intrinsics;
69 
70 typedef std::shared_ptr< ::realsense_legacy_msgs::motion_intrinsics > motion_intrinsicsPtr;
71 typedef std::shared_ptr< ::realsense_legacy_msgs::motion_intrinsics const> motion_intrinsicsConstPtr;
72 
73 // constants requiring out of line definition
74 
75 
76 
77 template<typename ContainerAllocator>
78 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> & v)
79 {
81 return s;
82 }
83 
84 } // namespace realsense_legacy_msgs
85 
86 namespace rs2rosinternal
87 {
88 namespace message_traits
89 {
90 
91 
92 
93 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
94 // {'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/realsense_ros_file/realsense_file/realsense_legacy_msgs/msg']}
95 
96 // !!!!!!!!!!! ['__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']
97 
98 
99 
100 
101 template <class ContainerAllocator>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsFixedSize< ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
117 struct IsMessage< ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> const>
118  : TrueType
119  { };
120 
121 template <class ContainerAllocator>
123  : FalseType
124  { };
125 
126 template <class ContainerAllocator>
127 struct HasHeader< ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> const>
128  : FalseType
129  { };
130 
131 
132 template<class ContainerAllocator>
133 struct MD5Sum< ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> >
134 {
135  static const char* value()
136  {
137  return "aebdc2f8f9726f1c3ca823ab56e47429";
138  }
139 
140  static const char* value(const ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator>&) { return value(); }
141  static const uint64_t static_value1 = 0xaebdc2f8f9726f1cULL;
142  static const uint64_t static_value2 = 0x3ca823ab56e47429ULL;
143 };
144 
145 template<class ContainerAllocator>
147 {
148  static const char* value()
149  {
150  return "realsense_legacy_msgs/motion_intrinsics";
151  }
152 
153  static const char* value(const ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator>&) { return value(); }
154 };
155 
156 template<class ContainerAllocator>
158 {
159  static const char* value()
160  {
161  return "float32[12] data\n\
162 float32[3] noise_variances\n\
163 float32[3] bias_variances\n\
164 ";
165  }
166 
167  static const char* value(const ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator>&) { return value(); }
168 };
169 
170 } // namespace message_traits
171 } // namespace rs2rosinternal
172 
173 namespace rs2rosinternal
174 {
175 namespace serialization
176 {
177 
178  template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> >
179  {
180  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
181  {
182  stream.next(m.data);
183  stream.next(m.noise_variances);
184  stream.next(m.bias_variances);
185  }
186 
188  }; // struct motion_intrinsics_
189 
190 } // namespace serialization
191 } // namespace rs2rosinternal
192 
193 namespace rs2rosinternal
194 {
195 namespace message_operations
196 {
197 
198 template<class ContainerAllocator>
199 struct Printer< ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> >
200 {
201  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator>& v)
202  {
203  s << indent << "data[]" << std::endl;
204  for (size_t i = 0; i < v.data.size(); ++i)
205  {
206  s << indent << " data[" << i << "]: ";
207  Printer<float>::stream(s, indent + " ", v.data[i]);
208  }
209  s << indent << "noise_variances[]" << std::endl;
210  for (size_t i = 0; i < v.noise_variances.size(); ++i)
211  {
212  s << indent << " noise_variances[" << i << "]: ";
213  Printer<float>::stream(s, indent + " ", v.noise_variances[i]);
214  }
215  s << indent << "bias_variances[]" << std::endl;
216  for (size_t i = 0; i < v.bias_variances.size(); ++i)
217  {
218  s << indent << " bias_variances[" << i << "]: ";
219  Printer<float>::stream(s, indent + " ", v.bias_variances[i]);
220  }
221  }
222 };
223 
224 } // namespace message_operations
225 } // namespace rs2rosinternal
226 
227 #endif // realsense_legacy_msgs_MESSAGE_MOTION_INTRINSICS_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::shared_ptr< ::realsense_legacy_msgs::motion_intrinsics > motion_intrinsicsPtr
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::shared_ptr< ::realsense_legacy_msgs::motion_intrinsics_< ContainerAllocator > > Ptr
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
static const char * value(const ::realsense_legacy_msgs::motion_intrinsics_< ContainerAllocator > &)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
motion_intrinsics_(const ContainerAllocator &_alloc)
static const char * value(const ::realsense_legacy_msgs::motion_intrinsics_< ContainerAllocator > &)
std::shared_ptr< ::realsense_legacy_msgs::motion_intrinsics const > motion_intrinsicsConstPtr
#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
Specialize to provide the definition for a message.
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::motion_intrinsics_< ContainerAllocator > &v)
motion_intrinsics_< ContainerAllocator > Type
static const char * value(const ::realsense_legacy_msgs::motion_intrinsics_< ContainerAllocator > &)
::realsense_legacy_msgs::motion_intrinsics_< std::allocator< void > > motion_intrinsics
std::shared_ptr< ::realsense_legacy_msgs::motion_intrinsics_< ContainerAllocator > const > ConstPtr
int i
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v
Definition: parser.hpp:150


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