SickImu.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file sick_scan/SickImu.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKIMU_H
7 #define SICK_SCAN_MESSAGE_SICKIMU_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 #include <std_msgs/Header.h>
20 #include <sensor_msgs/Imu.h>
21 
22 namespace sick_scan_xd
23 {
24 template <class ContainerAllocator>
25 struct SickImu_
26 {
28 
30  : header()
31  , Imu()
32  , ticks(0)
33  , quaternion_accuracy(0.0)
36  }
37  SickImu_(const ContainerAllocator& _alloc)
38  : header(_alloc)
39  , Imu(_alloc)
40  , ticks(0)
41  , quaternion_accuracy(0.0)
44  (void)_alloc;
45  }
46 
47 
48 
49  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
51 
52  typedef ::sensor_msgs::Imu_<ContainerAllocator> _Imu_type;
54 
55  typedef uint32_t _ticks_type;
57 
60 
63 
66 
67 
68 
69 
70 
71  typedef std::shared_ptr< ::sick_scan_xd::SickImu_<ContainerAllocator> > Ptr;
72  typedef std::shared_ptr< ::sick_scan_xd::SickImu_<ContainerAllocator> const> ConstPtr;
73 
74 }; // struct SickImu_
75 
76 typedef ::sick_scan_xd::SickImu_<std::allocator<void> > SickImu;
77 
78 typedef std::shared_ptr< ::sick_scan_xd::SickImu > SickImuPtr;
79 typedef std::shared_ptr< ::sick_scan_xd::SickImu const> SickImuConstPtr;
80 
81 // constants requiring out of line definition
82 
83 
84 
85 template<typename ContainerAllocator>
86 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickImu_<ContainerAllocator> & v)
87 {
89 return s;
90 }
91 
92 } // namespace sick_scan_xd
93 
94 namespace roswrap
95 {
96 namespace message_traits
97 {
98 
99 
100 
101 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
102 // {'sensor_msgs': ['/opt/ros/melodic/share/sensor_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/melodic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/melodic/share/std_msgs/cmake/../msg'], 'sick_scan': ['/home/rosuser/catkin_sick_scan/src/sick_scan/msg']}
103 
104 // !!!!!!!!!!! ['__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']
105 
106 
107 
108 
109 template <class ContainerAllocator>
110 struct IsFixedSize< ::sick_scan_xd::SickImu_<ContainerAllocator> >
111  : FalseType
112  { };
113 
114 template <class ContainerAllocator>
115 struct IsFixedSize< ::sick_scan_xd::SickImu_<ContainerAllocator> const>
116  : FalseType
117  { };
118 
119 template <class ContainerAllocator>
120 struct IsMessage< ::sick_scan_xd::SickImu_<ContainerAllocator> >
121  : TrueType
122  { };
123 
124 template <class ContainerAllocator>
125 struct IsMessage< ::sick_scan_xd::SickImu_<ContainerAllocator> const>
126  : TrueType
127  { };
128 
129 template <class ContainerAllocator>
130 struct HasHeader< ::sick_scan_xd::SickImu_<ContainerAllocator> >
131  : TrueType
132  { };
133 
134 template <class ContainerAllocator>
135 struct HasHeader< ::sick_scan_xd::SickImu_<ContainerAllocator> const>
136  : TrueType
137  { };
138 
139 
140 template<class ContainerAllocator>
141 struct MD5Sum< ::sick_scan_xd::SickImu_<ContainerAllocator> >
142 {
143  static const char* value()
144  {
145  return "136303711a1d592affd8713883708711";
146  }
147 
148  static const char* value(const ::sick_scan_xd::SickImu_<ContainerAllocator>&) { return value(); }
149  static const uint64_t static_value1 = 0x136303711a1d592aULL;
150  static const uint64_t static_value2 = 0xffd8713883708711ULL;
151 };
152 
153 template<class ContainerAllocator>
154 struct DataType< ::sick_scan_xd::SickImu_<ContainerAllocator> >
155 {
156  static const char* value()
157  {
158  return "sick_scan/SickImu";
159  }
160 
161  static const char* value(const ::sick_scan_xd::SickImu_<ContainerAllocator>&) { return value(); }
162 };
163 
164 template<class ContainerAllocator>
165 struct Definition< ::sick_scan_xd::SickImu_<ContainerAllocator> >
166 {
167  static const char* value()
168  {
169  return "# This message contains the IMU data of a Sick laser scanner as an IMU message.\n"
170 "# The ticks correspond to the internal time stamps of the laser scanner and increase linearly with time, the tickcounter overflows.\n"
171 "# The quaternion_accuracy has the unit rad.\n"
172 "# The accuracy measures for Lienar acceleration and angular velocity are abitre values, where higher values are better.\n"
173 "# \n"
174 "#\n"
175 "Header header\n"
176 "\n"
177 "sensor_msgs/Imu Imu\n"
178 "#IMU Message\n"
179 "\n"
180 "uint32 ticks\n"
181 "# timestamp Ticks from laser scanner\n"
182 "\n"
183 "float32 quaternion_accuracy\n"
184 "#quaternion accuracy in rad\n"
185 "\n"
186 "uint8 angular_velocity_reliability\n"
187 "#angular velocity reliability 0 low 255 high, value should be over 3\n"
188 "\n"
189 "uint8 linear_acceleration_reliability\n"
190 "#linear acceleration reliability 0 low 255 high, value should be over 3\n"
191 "\n"
192 "================================================================================\n"
193 "MSG: std_msgs/Header\n"
194 "# Standard metadata for higher-level stamped data types.\n"
195 "# This is generally used to communicate timestamped data \n"
196 "# in a particular coordinate frame.\n"
197 "# \n"
198 "# sequence ID: consecutively increasing ID \n"
199 "uint32 seq\n"
200 "#Two-integer timestamp that is expressed as:\n"
201 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
202 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
203 "# time-handling sugar is provided by the client library\n"
204 "time stamp\n"
205 "#Frame this data is associated with\n"
206 "string frame_id\n"
207 "\n"
208 "================================================================================\n"
209 "MSG: sensor_msgs/Imu\n"
210 "# This is a message to hold data from an IMU (Inertial Measurement Unit)\n"
211 "#\n"
212 "# Accelerations should be in m/s^2 (not in g's), and rotational velocity should be in rad/sec\n"
213 "#\n"
214 "# If the covariance of the measurement is known, it should be filled in (if all you know is the \n"
215 "# variance of each measurement, e.g. from the datasheet, just put those along the diagonal)\n"
216 "# A covariance matrix of all zeros will be interpreted as \"covariance unknown\", and to use the\n"
217 "# data a covariance will have to be assumed or gotten from some other source\n"
218 "#\n"
219 "# If you have no estimate for one of the data elements (e.g. your IMU doesn't produce an orientation \n"
220 "# estimate), please set element 0 of the associated covariance matrix to -1\n"
221 "# If you are interpreting this message, please check for a value of -1 in the first element of each \n"
222 "# covariance matrix, and disregard the associated estimate.\n"
223 "\n"
224 "Header header\n"
225 "\n"
226 "geometry_msgs/Quaternion orientation\n"
227 "float64[9] orientation_covariance # Row major about x, y, z axes\n"
228 "\n"
229 "geometry_msgs/Vector3 angular_velocity\n"
230 "float64[9] angular_velocity_covariance # Row major about x, y, z axes\n"
231 "\n"
232 "geometry_msgs/Vector3 linear_acceleration\n"
233 "float64[9] linear_acceleration_covariance # Row major x, y z \n"
234 "\n"
235 "================================================================================\n"
236 "MSG: geometry_msgs/Quaternion\n"
237 "# This represents an orientation in free space in quaternion form.\n"
238 "\n"
239 "float64 x\n"
240 "float64 y\n"
241 "float64 z\n"
242 "float64 w\n"
243 "\n"
244 "================================================================================\n"
245 "MSG: geometry_msgs/Vector3\n"
246 "# This represents a vector in free space. \n"
247 "# It is only meant to represent a direction. Therefore, it does not\n"
248 "# make sense to apply a translation to it (e.g., when applying a \n"
249 "# generic rigid transformation to a Vector3, tf2 will only apply the\n"
250 "# rotation). If you want your data to be translatable too, use the\n"
251 "# geometry_msgs/Point message instead.\n"
252 "\n"
253 "float64 x\n"
254 "float64 y\n"
255 "float64 z\n"
256 ;
257  }
258 
259  static const char* value(const ::sick_scan_xd::SickImu_<ContainerAllocator>&) { return value(); }
260 };
261 
262 } // namespace message_traits
263 } // namespace roswrap
264 
265 namespace roswrap
266 {
267 namespace serialization
268 {
269 
270  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickImu_<ContainerAllocator> >
271  {
272  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
273  {
274  stream.next(m.header);
275  stream.next(m.Imu);
276  stream.next(m.ticks);
277  stream.next(m.quaternion_accuracy);
278  stream.next(m.angular_velocity_reliability);
279  stream.next(m.linear_acceleration_reliability);
280  }
281 
283  }; // struct SickImu_
284 
285 } // namespace serialization
286 } // namespace roswrap
287 
288 namespace roswrap
289 {
290 namespace message_operations
291 {
292 
293 template<class ContainerAllocator>
294 struct Printer< ::sick_scan_xd::SickImu_<ContainerAllocator> >
295 {
296  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickImu_<ContainerAllocator>& v)
297  {
298  s << indent << "header: ";
299  s << std::endl;
301  s << indent << "Imu: ";
302  s << std::endl;
304  s << indent << "ticks: ";
305  Printer<uint32_t>::stream(s, indent + " ", v.ticks);
306  s << indent << "quaternion_accuracy: ";
307  Printer<float>::stream(s, indent + " ", v.quaternion_accuracy);
308  s << indent << "angular_velocity_reliability: ";
309  Printer<uint8_t>::stream(s, indent + " ", v.angular_velocity_reliability);
310  s << indent << "linear_acceleration_reliability: ";
311  Printer<uint8_t>::stream(s, indent + " ", v.linear_acceleration_reliability);
312  }
313 };
314 
315 } // namespace message_operations
316 } // namespace roswrap
317 
318 #endif // SICK_SCAN_MESSAGE_SICKIMU_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
sick_scan_xd::operator<<
std::ostream & operator<<(std::ostream &s, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
Definition: ColaMsgSrvRequest.h:59
sensor_msgs::Imu_
Definition: Imu.h:28
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sick_scan_xd::SickImuPtr
std::shared_ptr< ::sick_scan_xd::SickImu > SickImuPtr
Definition: SickImu.h:78
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
Imu.h
roswrap::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:107
sick_scan_xd::SickImu_::SickImu_
SickImu_(const ContainerAllocator &_alloc)
Definition: SickImu.h:37
const
#define const
Definition: getopt.c:38
sick_scan_xd::SickImu_::_Imu_type
::sensor_msgs::Imu_< ContainerAllocator > _Imu_type
Definition: SickImu.h:52
s
XmlRpcServer s
roswrap::serialization::Serializer< ::sick_scan_xd::SickImu_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickImu.h:272
sick_scan_xd::SickImu_::ticks
_ticks_type ticks
Definition: SickImu.h:56
roswrap::message_traits::Definition< ::sick_scan_xd::SickImu_< ContainerAllocator > >::value
static const char * value()
Definition: SickImu.h:167
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickImu_< ContainerAllocator > >::value
static const char * value()
Definition: SickImu.h:143
roswrap::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:103
sick_scan_xd::SickImu_::quaternion_accuracy
_quaternion_accuracy_type quaternion_accuracy
Definition: SickImu.h:59
ros::message_operations::Printer
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: serialization.h:74
sick_scan_xd
Definition: abstract_parser.cpp:65
sick_scan_xd::SickImu_::angular_velocity_reliability
_angular_velocity_reliability_type angular_velocity_reliability
Definition: SickImu.h:62
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::message_traits::Definition< ::sick_scan_xd::SickImu_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickImu_< ContainerAllocator > &)
Definition: SickImu.h:259
sick_scan_xd::SickImuConstPtr
std::shared_ptr< ::sick_scan_xd::SickImu const > SickImuConstPtr
Definition: SickImu.h:79
sick_scan_xd::SickImu_::Imu
_Imu_type Imu
Definition: SickImu.h:53
sick_scan_xd::SickImu_
Definition: SickImu.h:25
sick_scan_xd::SickImu_::_angular_velocity_reliability_type
uint8_t _angular_velocity_reliability_type
Definition: SickImu.h:61
roswrap::message_traits::DataType< ::sick_scan_xd::SickImu_< ContainerAllocator > >::value
static const char * value()
Definition: SickImu.h:156
roswrap::message_traits::DataType< ::sick_scan_xd::SickImu_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickImu_< ContainerAllocator > &)
Definition: SickImu.h:161
sick_scan_xd::SickImu_::Type
SickImu_< ContainerAllocator > Type
Definition: SickImu.h:27
sick_scan_xd::SickImu_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickImu_< ContainerAllocator > const > ConstPtr
Definition: SickImu.h:72
sick_scan_xd::SickImu
::sick_scan_xd::SickImu_< std::allocator< void > > SickImu
Definition: SickImu.h:76
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
sick_scan_xd::SickImu_::_ticks_type
uint32_t _ticks_type
Definition: SickImu.h:55
sick_scan_xd::SickImu_::SickImu_
SickImu_()
Definition: SickImu.h:29
sick_scan_xd::SickImu_::header
_header_type header
Definition: SickImu.h:50
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
roswrap::message_operations::Printer< ::sick_scan_xd::SickImu_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickImu_< ContainerAllocator > &v)
Definition: SickImu.h:296
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::SickImu_::_linear_acceleration_reliability_type
uint8_t _linear_acceleration_reliability_type
Definition: SickImu.h:64
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickImu_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickImu_< ContainerAllocator > &)
Definition: SickImu.h:148
sick_scan_xd::SickImu_::linear_acceleration_reliability
_linear_acceleration_reliability_type linear_acceleration_reliability
Definition: SickImu.h:65
Header.h
sick_scan_xd::SickImu_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: SickImu.h:49
sick_scan_xd::SickImu_::Ptr
std::shared_ptr< ::sick_scan_xd::SickImu_< ContainerAllocator > > Ptr
Definition: SickImu.h:71
sick_scan_xd::SickImu_::_quaternion_accuracy_type
float _quaternion_accuracy_type
Definition: SickImu.h:58


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:11