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


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