AccelWithCovariance.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/AccelWithCovariance.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H
6 #define GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_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/Accel.h>
19 
20 namespace geometry_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : accel()
29  , covariance() {
30  covariance.assign(0.0);
31  }
32  AccelWithCovariance_(const ContainerAllocator& _alloc)
33  : accel(_alloc)
34  , covariance() {
35  (void)_alloc;
36  covariance.assign(0.0);
37  }
38 
39 
40 
41  typedef ::geometry_msgs::Accel_<ContainerAllocator> _accel_type;
42  _accel_type accel;
43 
44  typedef boost::array<double, 36> _covariance_type;
45  _covariance_type covariance;
46 
47 
48 
49 
50  typedef std::shared_ptr< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> > Ptr;
51  typedef std::shared_ptr< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> const> ConstPtr;
52 
53 }; // struct AccelWithCovariance_
54 
55 typedef ::geometry_msgs::AccelWithCovariance_<std::allocator<void> > AccelWithCovariance;
56 
57 typedef std::shared_ptr< ::geometry_msgs::AccelWithCovariance > AccelWithCovariancePtr;
58 typedef std::shared_ptr< ::geometry_msgs::AccelWithCovariance const> AccelWithCovarianceConstPtr;
59 
60 // constants requiring out of line definition
61 
62 
63 
64 template<typename ContainerAllocator>
65 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> & v)
66 {
68 return s;
69 }
70 
71 } // namespace geometry_msgs
72 
73 namespace rs2rosinternal
74 {
75 namespace message_traits
76 {
77 
78 
79 
80 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
81 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
82 
83 // !!!!!!!!!!! ['__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']
84 
85 
86 
87 
88 template <class ContainerAllocator>
89 struct IsFixedSize< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
90  : TrueType
91  { };
92 
93 template <class ContainerAllocator>
94 struct IsFixedSize< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> const>
95  : TrueType
96  { };
97 
98 template <class ContainerAllocator>
99 struct IsMessage< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
100  : TrueType
101  { };
102 
103 template <class ContainerAllocator>
104 struct IsMessage< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> const>
105  : TrueType
106  { };
107 
108 template <class ContainerAllocator>
109 struct HasHeader< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
110  : FalseType
111  { };
112 
113 template <class ContainerAllocator>
114 struct HasHeader< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> const>
115  : FalseType
116  { };
117 
118 
119 template<class ContainerAllocator>
120 struct MD5Sum< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
121 {
122  static const char* value()
123  {
124  return "ad5a718d699c6be72a02b8d6a139f334";
125  }
126 
127  static const char* value(const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator>&) { return value(); }
128  static const uint64_t static_value1 = 0xad5a718d699c6be7ULL;
129  static const uint64_t static_value2 = 0x2a02b8d6a139f334ULL;
130 };
131 
132 template<class ContainerAllocator>
133 struct DataType< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
134 {
135  static const char* value()
136  {
137  return "geometry_msgs/AccelWithCovariance";
138  }
139 
140  static const char* value(const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator>&) { return value(); }
141 };
142 
143 template<class ContainerAllocator>
144 struct Definition< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
145 {
146  static const char* value()
147  {
148  return "# This expresses acceleration in free space with uncertainty.\n\
149 \n\
150 Accel accel\n\
151 \n\
152 # Row-major representation of the 6x6 covariance matrix\n\
153 # The orientation parameters use a fixed-axis representation.\n\
154 # In order, the parameters are:\n\
155 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
156 float64[36] covariance\n\
157 \n\
158 ================================================================================\n\
159 MSG: geometry_msgs/Accel\n\
160 # This expresses acceleration in free space broken into its linear and angular parts.\n\
161 Vector3 linear\n\
162 Vector3 angular\n\
163 \n\
164 ================================================================================\n\
165 MSG: geometry_msgs/Vector3\n\
166 # This represents a vector in free space. \n\
167 # It is only meant to represent a direction. Therefore, it does not\n\
168 # make sense to apply a translation to it (e.g., when applying a \n\
169 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
170 # rotation). If you want your data to be translatable too, use the\n\
171 # geometry_msgs/Point message instead.\n\
172 \n\
173 float64 x\n\
174 float64 y\n\
175 float64 z\n\
176 ";
177  }
178 
179  static const char* value(const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator>&) { return value(); }
180 };
181 
182 } // namespace message_traits
183 } // namespace rs2rosinternal
184 
185 namespace rs2rosinternal
186 {
187 namespace serialization
188 {
189 
190  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
191  {
192  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
193  {
194  stream.next(m.accel);
195  stream.next(m.covariance);
196  }
197 
199  }; // struct AccelWithCovariance_
200 
201 } // namespace serialization
202 } // namespace rs2rosinternal
203 
204 namespace rs2rosinternal
205 {
206 namespace message_operations
207 {
208 
209 template<class ContainerAllocator>
210 struct Printer< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
211 {
212  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator>& v)
213  {
214  s << indent << "accel: ";
215  s << std::endl;
217  s << indent << "covariance[]" << std::endl;
218  for (size_t i = 0; i < v.covariance.size(); ++i)
219  {
220  s << indent << " covariance[" << i << "]: ";
221  Printer<double>::stream(s, indent + " ", v.covariance[i]);
222  }
223  }
224 };
225 
226 } // namespace message_operations
227 } // namespace rs2rosinternal
228 
229 #endif // GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_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
Specialize to provide the md5sum for a message.
static const char * value(const ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > &)
std::shared_ptr< ::geometry_msgs::AccelWithCovariance const > AccelWithCovarianceConstPtr
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::shared_ptr< ::geometry_msgs::AccelWithCovariance > AccelWithCovariancePtr
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.
#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.
boost::array< double, 36 > _covariance_type
static const char * value(const ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > &)
::geometry_msgs::Accel_< ContainerAllocator > _accel_type
std::shared_ptr< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > const > ConstPtr
std::shared_ptr< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > > Ptr
::geometry_msgs::AccelWithCovariance_< std::allocator< void > > AccelWithCovariance
int i
Templated serialization class. Default implementation provides backwards compatibility with old messa...
AccelWithCovariance_(const ContainerAllocator &_alloc)
AccelWithCovariance_< ContainerAllocator > Type
static const char * value(const ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > &v)
GLdouble v


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