ImuIntrinsic.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_msgs/ImuIntrinsic.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef REALSENSE_MSGS_MESSAGE_IMUINTRINSIC_H
6 #define REALSENSE_MSGS_MESSAGE_IMUINTRINSIC_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 
19 namespace realsense_msgs
20 {
21 template <class ContainerAllocator>
23 {
25 
27  : data()
28  , noise_variances()
29  , bias_variances() {
30  data.fill(0.0);
31 
32  noise_variances.fill(0.0);
33 
34  bias_variances.fill(0.0);
35  }
36  ImuIntrinsic_(const ContainerAllocator& _alloc)
37  : data()
38  , noise_variances()
39  , bias_variances() {
40  (void)_alloc;
41  data.fill(0.0);
42 
43  noise_variances.fill(0.0);
44 
45  bias_variances.fill(0.0);
46  }
47 
48 
49 
50  typedef std::array<float, 12> _data_type;
51  _data_type data;
52 
53  typedef std::array<float, 3> _noise_variances_type;
54  _noise_variances_type noise_variances;
55 
56  typedef std::array<float, 3> _bias_variances_type;
57  _bias_variances_type bias_variances;
58 
59 
60 
61 
62  typedef std::shared_ptr< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> > Ptr;
63  typedef std::shared_ptr< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> const> ConstPtr;
64 
65 }; // struct ImuIntrinsic_
66 
67 typedef ::realsense_msgs::ImuIntrinsic_<std::allocator<void> > ImuIntrinsic;
68 
69 typedef std::shared_ptr< ::realsense_msgs::ImuIntrinsic > ImuIntrinsicPtr;
70 typedef std::shared_ptr< ::realsense_msgs::ImuIntrinsic const> ImuIntrinsicConstPtr;
71 
72 // constants requiring out of line definition
73 
74 
75 
76 template<typename ContainerAllocator>
77 std::ostream& operator<<(std::ostream& s, const ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> & v)
78 {
80 return s;
81 }
82 
83 } // namespace realsense_msgs
84 
85 namespace rs2rosinternal
86 {
87 namespace message_traits
88 {
89 
90 
91 
92 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
93 // {'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_msgs': ['/home/zivs/dev/realsense_msg_generator/msg']}
94 
95 // !!!!!!!!!!! ['__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']
96 
97 
98 
99 
100 template <class ContainerAllocator>
101 struct IsFixedSize< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsFixedSize< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct IsMessage< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> >
112  : TrueType
113  { };
114 
115 template <class ContainerAllocator>
116 struct IsMessage< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> const>
117  : TrueType
118  { };
119 
120 template <class ContainerAllocator>
121 struct HasHeader< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> >
122  : FalseType
123  { };
124 
125 template <class ContainerAllocator>
126 struct HasHeader< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> const>
127  : FalseType
128  { };
129 
130 
131 template<class ContainerAllocator>
132 struct MD5Sum< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> >
133 {
134  static const char* value()
135  {
136  return "aebdc2f8f9726f1c3ca823ab56e47429";
137  }
138 
139  static const char* value(const ::realsense_msgs::ImuIntrinsic_<ContainerAllocator>&) { return value(); }
140  static const uint64_t static_value1 = 0xaebdc2f8f9726f1cULL;
141  static const uint64_t static_value2 = 0x3ca823ab56e47429ULL;
142 };
143 
144 template<class ContainerAllocator>
145 struct DataType< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> >
146 {
147  static const char* value()
148  {
149  return "realsense_msgs/ImuIntrinsic";
150  }
151 
152  static const char* value(const ::realsense_msgs::ImuIntrinsic_<ContainerAllocator>&) { return value(); }
153 };
154 
155 template<class ContainerAllocator>
156 struct Definition< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> >
157 {
158  static const char* value()
159  {
160  return "# Motion device intrinsics: scale, bias, and variances\n\
161 \n\
162 # Interpret data array values\n\
163  # [ Scale X cross axis cross axis Bias X]\n\
164  # [cross axis Scale Y cross axis Bias Y]\n\
165  # [cross axis cross axis Scale Z Bias Z]\n\
166 float32[12] data # 3x4 Row-major matrix\n\
167 \n\
168 float32[3] noise_variances # Variance of noise for X, Y, and Z axis\n\
169 float32[3] bias_variances # Variance of bias for X, Y, and Z axis\n\
170 ";
171  }
172 
173  static const char* value(const ::realsense_msgs::ImuIntrinsic_<ContainerAllocator>&) { return value(); }
174 };
175 
176 } // namespace message_traits
177 } // namespace rs2rosinternal
178 
179 namespace rs2rosinternal
180 {
181 namespace serialization
182 {
183 
184  template<class ContainerAllocator> struct Serializer< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> >
185  {
186  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
187  {
188  stream.next(m.data);
189  stream.next(m.noise_variances);
190  stream.next(m.bias_variances);
191  }
192 
194  }; // struct ImuIntrinsic_
195 
196 } // namespace serialization
197 } // namespace rs2rosinternal
198 
199 namespace rs2rosinternal
200 {
201 namespace message_operations
202 {
203 
204 template<class ContainerAllocator>
205 struct Printer< ::realsense_msgs::ImuIntrinsic_<ContainerAllocator> >
206 {
207  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_msgs::ImuIntrinsic_<ContainerAllocator>& v)
208  {
209  s << indent << "data[]" << std::endl;
210  for (size_t i = 0; i < v.data.size(); ++i)
211  {
212  s << indent << " data[" << i << "]: ";
213  Printer<float>::stream(s, indent + " ", v.data[i]);
214  }
215  s << indent << "noise_variances[]" << std::endl;
216  for (size_t i = 0; i < v.noise_variances.size(); ++i)
217  {
218  s << indent << " noise_variances[" << i << "]: ";
219  Printer<float>::stream(s, indent + " ", v.noise_variances[i]);
220  }
221  s << indent << "bias_variances[]" << std::endl;
222  for (size_t i = 0; i < v.bias_variances.size(); ++i)
223  {
224  s << indent << " bias_variances[" << i << "]: ";
225  Printer<float>::stream(s, indent + " ", v.bias_variances[i]);
226  }
227  }
228 };
229 
230 } // namespace message_operations
231 } // namespace rs2rosinternal
232 
233 #endif // REALSENSE_MSGS_MESSAGE_IMUINTRINSIC_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
const GLfloat * m
Definition: glext.h:6814
static const char * value(const ::realsense_msgs::ImuIntrinsic_< ContainerAllocator > &)
Definition: ImuIntrinsic.h:152
Specialize to provide the md5sum for a message.
std::array< float, 12 > _data_type
Definition: ImuIntrinsic.h:50
std::shared_ptr< ::realsense_msgs::ImuIntrinsic_< ContainerAllocator > > Ptr
Definition: ImuIntrinsic.h:62
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
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
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.
static const char * value(const ::realsense_msgs::ImuIntrinsic_< ContainerAllocator > &)
Definition: ImuIntrinsic.h:173
std::array< float, 3 > _bias_variances_type
Definition: ImuIntrinsic.h:56
static const char * value(const ::realsense_msgs::ImuIntrinsic_< ContainerAllocator > &)
Definition: ImuIntrinsic.h:139
#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
ImuIntrinsic_< ContainerAllocator > Type
Definition: ImuIntrinsic.h:24
Specialize to provide the definition for a message.
std::shared_ptr< ::realsense_msgs::ImuIntrinsic const > ImuIntrinsicConstPtr
Definition: ImuIntrinsic.h:70
_bias_variances_type bias_variances
Definition: ImuIntrinsic.h:57
std::shared_ptr< ::realsense_msgs::ImuIntrinsic > ImuIntrinsicPtr
Definition: ImuIntrinsic.h:69
static void stream(Stream &s, const std::string &indent, const ::realsense_msgs::ImuIntrinsic_< ContainerAllocator > &v)
Definition: ImuIntrinsic.h:207
_noise_variances_type noise_variances
Definition: ImuIntrinsic.h:54
ImuIntrinsic_(const ContainerAllocator &_alloc)
Definition: ImuIntrinsic.h:36
std::shared_ptr< ::realsense_msgs::ImuIntrinsic_< ContainerAllocator > const > ConstPtr
Definition: ImuIntrinsic.h:63
int i
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::array< float, 3 > _noise_variances_type
Definition: ImuIntrinsic.h:53
GLdouble v
Definition: parser.hpp:150
::realsense_msgs::ImuIntrinsic_< std::allocator< void > > ImuIntrinsic
Definition: ImuIntrinsic.h:67


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