PoseWithCovariance.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/PoseWithCovariance.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H
7 #define GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H
8 
9 
10 #include <array>
11 #include <string>
12 #include <vector>
13 #include <map>
14 
15 #include <ros/types.h>
16 #include <ros/serialization.h>
17 #include <ros/builtin_message_traits.h>
18 #include <ros/message_operations.h>
19 
20 #include <geometry_msgs/Pose.h>
21 
22 namespace geometry_msgs
23 {
24 template <class ContainerAllocator>
26 {
28 
30  : pose()
31  , covariance() {
32  covariance.fill(0.0);
33  }
34  PoseWithCovariance_(const ContainerAllocator& _alloc)
35  : pose(_alloc)
36  , covariance() {
37  (void)_alloc;
38  covariance.fill(0.0);
39  }
40 
41 
42 
43  typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
45 
46  typedef std::array<double, 36> _covariance_type;
48 
49 
50 
51 
52  typedef std::shared_ptr< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> > Ptr;
53  typedef std::shared_ptr< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> const> ConstPtr;
54 
55 }; // struct PoseWithCovariance_
56 
57 typedef ::geometry_msgs::PoseWithCovariance_<std::allocator<void> > PoseWithCovariance;
58 
59 typedef std::shared_ptr< ::geometry_msgs::PoseWithCovariance > PoseWithCovariancePtr;
60 typedef std::shared_ptr< ::geometry_msgs::PoseWithCovariance const> PoseWithCovarianceConstPtr;
61 
62 // constants requiring out of line definition
63 
64 
65 
66 template<typename ContainerAllocator>
67 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> & v)
68 {
70 return s;
71 }
72 
73 } // namespace geometry_msgs
74 
75 namespace roswrap
76 {
77 namespace message_traits
78 {
79 
80 
81 
82 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
83 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
84 
85 // !!!!!!!!!!! ['__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']
86 
87 
88 
89 
90 template <class ContainerAllocator>
91 struct IsFixedSize< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> const>
117  : FalseType
118  { };
119 
120 
121 template<class ContainerAllocator>
122 struct MD5Sum< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
123 {
124  static const char* value()
125  {
126  return "c23e848cf1b7533a8d7c259073a97e6f";
127  }
128 
129  static const char* value(const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>&) { return value(); }
130  static const uint64_t static_value1 = 0xc23e848cf1b7533aULL;
131  static const uint64_t static_value2 = 0x8d7c259073a97e6fULL;
132 };
133 
134 template<class ContainerAllocator>
135 struct DataType< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
136 {
137  static const char* value()
138  {
139  return "geometry_msgs/PoseWithCovariance";
140  }
141 
142  static const char* value(const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>&) { return value(); }
143 };
144 
145 template<class ContainerAllocator>
146 struct Definition< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "# This represents a pose in free space with uncertainty.\n\
151 \n\
152 Pose pose\n\
153 \n\
154 # Row-major representation of the 6x6 covariance matrix\n\
155 # The orientation parameters use a fixed-axis representation.\n\
156 # In order, the parameters are:\n\
157 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
158 float64[36] covariance\n\
159 \n\
160 ================================================================================\n\
161 MSG: geometry_msgs/Pose\n\
162 # A representation of pose in free space, composed of position and orientation. \n\
163 Point position\n\
164 Quaternion orientation\n\
165 \n\
166 ================================================================================\n\
167 MSG: geometry_msgs/Point\n\
168 # This contains the position of a point in free space\n\
169 float64 x\n\
170 float64 y\n\
171 float64 z\n\
172 \n\
173 ================================================================================\n\
174 MSG: geometry_msgs/Quaternion\n\
175 # This represents an orientation in free space in quaternion form.\n\
176 \n\
177 float64 x\n\
178 float64 y\n\
179 float64 z\n\
180 float64 w\n\
181 ";
182  }
183 
184  static const char* value(const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>&) { return value(); }
185 };
186 
187 } // namespace message_traits
188 } // namespace roswrap
189 
190 namespace roswrap
191 {
192 namespace serialization
193 {
194 
195  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
196  {
197  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
198  {
199  stream.next(m.pose);
200  stream.next(m.covariance);
201  }
202 
204  }; // struct PoseWithCovariance_
205 
206 } // namespace serialization
207 } // namespace roswrap
208 
209 namespace roswrap
210 {
211 namespace message_operations
212 {
213 
214 template<class ContainerAllocator>
215 struct Printer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >
216 {
217  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>& v)
218  {
219  s << indent << "pose: ";
220  s << std::endl;
222  s << indent << "covariance[]" << std::endl;
223  for (size_t i = 0; i < v.covariance.size(); ++i)
224  {
225  s << indent << " covariance[" << i << "]: ";
226  Printer<double>::stream(s, indent + " ", v.covariance[i]);
227  }
228  }
229 };
230 
231 } // namespace message_operations
232 } // namespace roswrap
233 
234 #endif // GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_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
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_operations::Printer< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > &v)
Definition: PoseWithCovariance.h:217
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
roswrap::message_traits::DataType< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > &)
Definition: PoseWithCovariance.h:142
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::PoseWithCovariance_::PoseWithCovariance_
PoseWithCovariance_(const ContainerAllocator &_alloc)
Definition: PoseWithCovariance.h:34
roswrap::message_traits::Definition< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > >::value
static const char * value()
Definition: PoseWithCovariance.h:148
Pose.h
geometry_msgs::PoseWithCovariance_::pose
_pose_type pose
Definition: PoseWithCovariance.h:44
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
roswrap::serialization::Serializer< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: PoseWithCovariance.h:197
geometry_msgs::PoseWithCovariance_::_covariance_type
std::array< double, 36 > _covariance_type
Definition: PoseWithCovariance.h:46
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::PoseWithCovariance_::ConstPtr
std::shared_ptr< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > const > ConstPtr
Definition: PoseWithCovariance.h:53
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::PoseWithCovariance_::PoseWithCovariance_
PoseWithCovariance_()
Definition: PoseWithCovariance.h:29
geometry_msgs::PoseWithCovariance_::_pose_type
::geometry_msgs::Pose_< ContainerAllocator > _pose_type
Definition: PoseWithCovariance.h:43
geometry_msgs::Pose_
Definition: Pose.h:25
geometry_msgs::PoseWithCovariancePtr
std::shared_ptr< ::geometry_msgs::PoseWithCovariance > PoseWithCovariancePtr
Definition: PoseWithCovariance.h:59
roswrap::message_traits::Definition< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > &)
Definition: PoseWithCovariance.h:184
roswrap::message_traits::MD5Sum< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > &)
Definition: PoseWithCovariance.h:129
geometry_msgs::PoseWithCovariance
::geometry_msgs::PoseWithCovariance_< std::allocator< void > > PoseWithCovariance
Definition: PoseWithCovariance.h:57
roswrap::message_traits::DataType< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > >::value
static const char * value()
Definition: PoseWithCovariance.h:137
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
geometry_msgs::PoseWithCovariance_
Definition: PoseWithCovariance.h:25
roswrap::message_traits::MD5Sum< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > >::value
static const char * value()
Definition: PoseWithCovariance.h:124
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::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
geometry_msgs::PoseWithCovariance_::covariance
_covariance_type covariance
Definition: PoseWithCovariance.h:47
geometry_msgs::PoseWithCovariance_::Ptr
std::shared_ptr< ::geometry_msgs::PoseWithCovariance_< ContainerAllocator > > Ptr
Definition: PoseWithCovariance.h:52
geometry_msgs::PoseWithCovarianceConstPtr
std::shared_ptr< ::geometry_msgs::PoseWithCovariance const > PoseWithCovarianceConstPtr
Definition: PoseWithCovariance.h:60
geometry_msgs::PoseWithCovariance_::Type
PoseWithCovariance_< ContainerAllocator > Type
Definition: PoseWithCovariance.h:27


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