Inertia.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 geometry_msgs/Inertia.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef GEOMETRY_MSGS_MESSAGE_INERTIA_H
7 #define GEOMETRY_MSGS_MESSAGE_INERTIA_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 <geometry_msgs/Vector3.h>
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
24 struct Inertia_
25 {
27 
29  : m(0.0)
30  , com()
31  , ixx(0.0)
32  , ixy(0.0)
33  , ixz(0.0)
34  , iyy(0.0)
35  , iyz(0.0)
36  , izz(0.0) {
37  }
38  Inertia_(const ContainerAllocator& _alloc)
39  : m(0.0)
40  , com(_alloc)
41  , ixx(0.0)
42  , ixy(0.0)
43  , ixz(0.0)
44  , iyy(0.0)
45  , iyz(0.0)
46  , izz(0.0) {
47  (void)_alloc;
48  }
49 
50 
51 
52  typedef double _m_type;
54 
55  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _com_type;
57 
58  typedef double _ixx_type;
60 
61  typedef double _ixy_type;
63 
64  typedef double _ixz_type;
66 
67  typedef double _iyy_type;
69 
70  typedef double _iyz_type;
72 
73  typedef double _izz_type;
75 
76 
77 
78 
79  typedef std::shared_ptr< ::geometry_msgs::Inertia_<ContainerAllocator> > Ptr;
80  typedef std::shared_ptr< ::geometry_msgs::Inertia_<ContainerAllocator> const> ConstPtr;
81 
82 }; // struct Inertia_
83 
84 typedef ::geometry_msgs::Inertia_<std::allocator<void> > Inertia;
85 
86 typedef std::shared_ptr< ::geometry_msgs::Inertia > InertiaPtr;
87 typedef std::shared_ptr< ::geometry_msgs::Inertia const> InertiaConstPtr;
88 
89 // constants requiring out of line definition
90 
91 
92 
93 template<typename ContainerAllocator>
94 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Inertia_<ContainerAllocator> & v)
95 {
97 return s;
98 }
99 
100 } // namespace geometry_msgs
101 
102 namespace roswrap
103 {
104 namespace message_traits
105 {
106 
107 
108 
109 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
110 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
111 
112 // !!!!!!!!!!! ['__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']
113 
114 
115 
116 
117 template <class ContainerAllocator>
118 struct IsFixedSize< ::geometry_msgs::Inertia_<ContainerAllocator> >
119  : TrueType
120  { };
121 
122 template <class ContainerAllocator>
123 struct IsFixedSize< ::geometry_msgs::Inertia_<ContainerAllocator> const>
124  : TrueType
125  { };
126 
127 template <class ContainerAllocator>
128 struct IsMessage< ::geometry_msgs::Inertia_<ContainerAllocator> >
129  : TrueType
130  { };
131 
132 template <class ContainerAllocator>
133 struct IsMessage< ::geometry_msgs::Inertia_<ContainerAllocator> const>
134  : TrueType
135  { };
136 
137 template <class ContainerAllocator>
138 struct HasHeader< ::geometry_msgs::Inertia_<ContainerAllocator> >
139  : FalseType
140  { };
141 
142 template <class ContainerAllocator>
143 struct HasHeader< ::geometry_msgs::Inertia_<ContainerAllocator> const>
144  : FalseType
145  { };
146 
147 
148 template<class ContainerAllocator>
149 struct MD5Sum< ::geometry_msgs::Inertia_<ContainerAllocator> >
150 {
151  static const char* value()
152  {
153  return "1d26e4bb6c83ff141c5cf0d883c2b0fe";
154  }
155 
156  static const char* value(const ::geometry_msgs::Inertia_<ContainerAllocator>&) { return value(); }
157  static const uint64_t static_value1 = 0x1d26e4bb6c83ff14ULL;
158  static const uint64_t static_value2 = 0x1c5cf0d883c2b0feULL;
159 };
160 
161 template<class ContainerAllocator>
162 struct DataType< ::geometry_msgs::Inertia_<ContainerAllocator> >
163 {
164  static const char* value()
165  {
166  return "geometry_msgs/Inertia";
167  }
168 
169  static const char* value(const ::geometry_msgs::Inertia_<ContainerAllocator>&) { return value(); }
170 };
171 
172 template<class ContainerAllocator>
173 struct Definition< ::geometry_msgs::Inertia_<ContainerAllocator> >
174 {
175  static const char* value()
176  {
177  return "# Mass [kg]\n\
178 float64 m\n\
179 \n\
180 # Center of mass [m]\n\
181 geometry_msgs/Vector3 com\n\
182 \n\
183 # Inertia Tensor [kg-m^2]\n\
184 # | ixx ixy ixz |\n\
185 # I = | ixy iyy iyz |\n\
186 # | ixz iyz izz |\n\
187 float64 ixx\n\
188 float64 ixy\n\
189 float64 ixz\n\
190 float64 iyy\n\
191 float64 iyz\n\
192 float64 izz\n\
193 \n\
194 ================================================================================\n\
195 MSG: geometry_msgs/Vector3\n\
196 # This represents a vector in free space. \n\
197 # It is only meant to represent a direction. Therefore, it does not\n\
198 # make sense to apply a translation to it (e.g., when applying a \n\
199 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
200 # rotation). If you want your data to be translatable too, use the\n\
201 # geometry_msgs/Point message instead.\n\
202 \n\
203 float64 x\n\
204 float64 y\n\
205 float64 z\n\
206 ";
207  }
208 
209  static const char* value(const ::geometry_msgs::Inertia_<ContainerAllocator>&) { return value(); }
210 };
211 
212 } // namespace message_traits
213 } // namespace roswrap
214 
215 namespace roswrap
216 {
217 namespace serialization
218 {
219 
220  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Inertia_<ContainerAllocator> >
221  {
222  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
223  {
224  stream.next(m.m);
225  stream.next(m.com);
226  stream.next(m.ixx);
227  stream.next(m.ixy);
228  stream.next(m.ixz);
229  stream.next(m.iyy);
230  stream.next(m.iyz);
231  stream.next(m.izz);
232  }
233 
235  }; // struct Inertia_
236 
237 } // namespace serialization
238 } // namespace roswrap
239 
240 namespace roswrap
241 {
242 namespace message_operations
243 {
244 
245 template<class ContainerAllocator>
246 struct Printer< ::geometry_msgs::Inertia_<ContainerAllocator> >
247 {
248  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Inertia_<ContainerAllocator>& v)
249  {
250  s << indent << "m: ";
251  Printer<double>::stream(s, indent + " ", v.m);
252  s << indent << "com: ";
253  s << std::endl;
255  s << indent << "ixx: ";
256  Printer<double>::stream(s, indent + " ", v.ixx);
257  s << indent << "ixy: ";
258  Printer<double>::stream(s, indent + " ", v.ixy);
259  s << indent << "ixz: ";
260  Printer<double>::stream(s, indent + " ", v.ixz);
261  s << indent << "iyy: ";
262  Printer<double>::stream(s, indent + " ", v.iyy);
263  s << indent << "iyz: ";
264  Printer<double>::stream(s, indent + " ", v.iyz);
265  s << indent << "izz: ";
266  Printer<double>::stream(s, indent + " ", v.izz);
267  }
268 };
269 
270 } // namespace message_operations
271 } // namespace roswrap
272 
273 #endif // GEOMETRY_MSGS_MESSAGE_INERTIA_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
roswrap::message_traits::DataType< ::geometry_msgs::Inertia_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Inertia_< ContainerAllocator > &)
Definition: Inertia.h:169
geometry_msgs::Inertia_::_iyy_type
double _iyy_type
Definition: Inertia.h:67
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
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
geometry_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::geometry_msgs::Accel_< ContainerAllocator > &v)
Definition: Accel.h:65
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
geometry_msgs
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::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
geometry_msgs::Inertia_
Definition: Inertia.h:24
roswrap::message_traits::Definition< ::geometry_msgs::Inertia_< ContainerAllocator > >::value
static const char * value()
Definition: Inertia.h:175
geometry_msgs::Vector3_
Definition: kinetic/include/geometry_msgs/Vector3.h:23
geometry_msgs::InertiaPtr
std::shared_ptr< ::geometry_msgs::Inertia > InertiaPtr
Definition: Inertia.h:86
ros::message_operations::Printer
roswrap::message_operations::Printer< ::geometry_msgs::Inertia_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Inertia_< ContainerAllocator > &v)
Definition: Inertia.h:248
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
geometry_msgs::Inertia_::_ixx_type
double _ixx_type
Definition: Inertia.h:58
roswrap::message_traits::MD5Sum< ::geometry_msgs::Inertia_< ContainerAllocator > >::value
static const char * value()
Definition: Inertia.h:151
geometry_msgs::Inertia_::_ixz_type
double _ixz_type
Definition: Inertia.h:64
geometry_msgs::Inertia_::Type
Inertia_< ContainerAllocator > Type
Definition: Inertia.h:26
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::DataType< ::geometry_msgs::Inertia_< ContainerAllocator > >::value
static const char * value()
Definition: Inertia.h:164
geometry_msgs::Inertia_::ixy
_ixy_type ixy
Definition: Inertia.h:62
roswrap
Definition: param_modi.cpp:41
roswrap::message_traits::MD5Sum< ::geometry_msgs::Inertia_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Inertia_< ContainerAllocator > &)
Definition: Inertia.h:156
geometry_msgs::Inertia_::iyy
_iyy_type iyy
Definition: Inertia.h:68
roswrap::message_operations::Printer
Definition: message_operations.h:40
geometry_msgs::Inertia_::ixx
_ixx_type ixx
Definition: Inertia.h:59
Vector3.h
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
geometry_msgs::Inertia_::_izz_type
double _izz_type
Definition: Inertia.h:73
geometry_msgs::Inertia_::_m_type
double _m_type
Definition: Inertia.h:52
roswrap::message_traits::Definition< ::geometry_msgs::Inertia_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Inertia_< ContainerAllocator > &)
Definition: Inertia.h:209
geometry_msgs::Inertia_::izz
_izz_type izz
Definition: Inertia.h:74
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
geometry_msgs::Inertia_::_ixy_type
double _ixy_type
Definition: Inertia.h:61
geometry_msgs::Inertia_::_iyz_type
double _iyz_type
Definition: Inertia.h:70
geometry_msgs::Inertia_::Inertia_
Inertia_(const ContainerAllocator &_alloc)
Definition: Inertia.h:38
geometry_msgs::Inertia_::iyz
_iyz_type iyz
Definition: Inertia.h:71
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
geometry_msgs::Inertia_::Inertia_
Inertia_()
Definition: Inertia.h:28
geometry_msgs::Inertia_::com
_com_type com
Definition: Inertia.h:56
geometry_msgs::Inertia_::ixz
_ixz_type ixz
Definition: Inertia.h:65
roswrap::serialization::Serializer< ::geometry_msgs::Inertia_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Inertia.h:222
geometry_msgs::Inertia
::geometry_msgs::Inertia_< std::allocator< void > > Inertia
Definition: Inertia.h:84
geometry_msgs::Inertia_::_com_type
::geometry_msgs::Vector3_< ContainerAllocator > _com_type
Definition: Inertia.h:55
geometry_msgs::Inertia_::ConstPtr
std::shared_ptr< ::geometry_msgs::Inertia_< ContainerAllocator > const > ConstPtr
Definition: Inertia.h:80
geometry_msgs::Inertia_::Ptr
std::shared_ptr< ::geometry_msgs::Inertia_< ContainerAllocator > > Ptr
Definition: Inertia.h:79
geometry_msgs::Inertia_::m
_m_type m
Definition: Inertia.h:53
geometry_msgs::InertiaConstPtr
std::shared_ptr< ::geometry_msgs::Inertia const > InertiaConstPtr
Definition: Inertia.h:87


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