SetMapRequest.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 nav_msgs/SetMapRequest.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef NAV_MSGS_MESSAGE_SETMAPREQUEST_H
7 #define NAV_MSGS_MESSAGE_SETMAPREQUEST_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 <nav_msgs/OccupancyGrid.h>
21 
22 namespace nav_msgs
23 {
24 template <class ContainerAllocator>
26 {
28 
30  : map()
31  , initial_pose() {
32  }
33  SetMapRequest_(const ContainerAllocator& _alloc)
34  : map(_alloc)
35  , initial_pose(_alloc) {
36  (void)_alloc;
37  }
38 
39 
40 
41  typedef ::nav_msgs::OccupancyGrid_<ContainerAllocator> _map_type;
43 
44  typedef ::geometry_msgs::PoseWithCovarianceStamped_<ContainerAllocator> _initial_pose_type;
46 
47 
48 
49 
50 
51  typedef std::shared_ptr< ::nav_msgs::SetMapRequest_<ContainerAllocator> > Ptr;
52  typedef std::shared_ptr< ::nav_msgs::SetMapRequest_<ContainerAllocator> const> ConstPtr;
53 
54 }; // struct SetMapRequest_
55 
56 typedef ::nav_msgs::SetMapRequest_<std::allocator<void> > SetMapRequest;
57 
58 typedef std::shared_ptr< ::nav_msgs::SetMapRequest > SetMapRequestPtr;
59 typedef std::shared_ptr< ::nav_msgs::SetMapRequest const> SetMapRequestConstPtr;
60 
61 // constants requiring out of line definition
62 
63 
64 
65 template<typename ContainerAllocator>
66 std::ostream& operator<<(std::ostream& s, const ::nav_msgs::SetMapRequest_<ContainerAllocator> & v)
67 {
69 return s;
70 }
71 
72 
73 template<typename ContainerAllocator1, typename ContainerAllocator2>
74 bool operator==(const ::nav_msgs::SetMapRequest_<ContainerAllocator1> & lhs, const ::nav_msgs::SetMapRequest_<ContainerAllocator2> & rhs)
75 {
76  return lhs.map == rhs.map &&
77  lhs.initial_pose == rhs.initial_pose;
78 }
79 
80 template<typename ContainerAllocator1, typename ContainerAllocator2>
81 bool operator!=(const ::nav_msgs::SetMapRequest_<ContainerAllocator1> & lhs, const ::nav_msgs::SetMapRequest_<ContainerAllocator2> & rhs)
82 {
83  return !(lhs == rhs);
84 }
85 
86 
87 } // namespace nav_msgs
88 
89 namespace roswrap
90 {
91 namespace message_traits
92 {
93 
94 
95 
96 
97 
98 template <class ContainerAllocator>
99 struct IsFixedSize< ::nav_msgs::SetMapRequest_<ContainerAllocator> >
100  : FalseType
101  { };
102 
103 template <class ContainerAllocator>
104 struct IsFixedSize< ::nav_msgs::SetMapRequest_<ContainerAllocator> const>
105  : FalseType
106  { };
107 
108 template <class ContainerAllocator>
109 struct IsMessage< ::nav_msgs::SetMapRequest_<ContainerAllocator> >
110  : TrueType
111  { };
112 
113 template <class ContainerAllocator>
114 struct IsMessage< ::nav_msgs::SetMapRequest_<ContainerAllocator> const>
115  : TrueType
116  { };
117 
118 template <class ContainerAllocator>
119 struct HasHeader< ::nav_msgs::SetMapRequest_<ContainerAllocator> >
120  : FalseType
121  { };
122 
123 template <class ContainerAllocator>
124 struct HasHeader< ::nav_msgs::SetMapRequest_<ContainerAllocator> const>
125  : FalseType
126  { };
127 
128 
129 template<class ContainerAllocator>
130 struct MD5Sum< ::nav_msgs::SetMapRequest_<ContainerAllocator> >
131 {
132  static const char* value()
133  {
134  return "91149a20d7be299b87c340df8cc94fd4";
135  }
136 
137  static const char* value(const ::nav_msgs::SetMapRequest_<ContainerAllocator>&) { return value(); }
138  static const uint64_t static_value1 = 0x91149a20d7be299bULL;
139  static const uint64_t static_value2 = 0x87c340df8cc94fd4ULL;
140 };
141 
142 template<class ContainerAllocator>
143 struct DataType< ::nav_msgs::SetMapRequest_<ContainerAllocator> >
144 {
145  static const char* value()
146  {
147  return "nav_msgs/SetMapRequest";
148  }
149 
150  static const char* value(const ::nav_msgs::SetMapRequest_<ContainerAllocator>&) { return value(); }
151 };
152 
153 template<class ContainerAllocator>
154 struct Definition< ::nav_msgs::SetMapRequest_<ContainerAllocator> >
155 {
156  static const char* value()
157  {
158  return "# Set a new map together with an initial pose\n"
159 "nav_msgs/OccupancyGrid map\n"
160 "geometry_msgs/PoseWithCovarianceStamped initial_pose\n"
161 "\n"
162 "================================================================================\n"
163 "MSG: nav_msgs/OccupancyGrid\n"
164 "# This represents a 2-D grid map, in which each cell represents the probability of\n"
165 "# occupancy.\n"
166 "\n"
167 "Header header \n"
168 "\n"
169 "#MetaData for the map\n"
170 "MapMetaData info\n"
171 "\n"
172 "# The map data, in row-major order, starting with (0,0). Occupancy\n"
173 "# probabilities are in the range [0,100]. Unknown is -1.\n"
174 "int8[] data\n"
175 "\n"
176 "================================================================================\n"
177 "MSG: std_msgs/Header\n"
178 "# Standard metadata for higher-level stamped data types.\n"
179 "# This is generally used to communicate timestamped data \n"
180 "# in a particular coordinate frame.\n"
181 "# \n"
182 "# sequence ID: consecutively increasing ID \n"
183 "uint32 seq\n"
184 "#Two-integer timestamp that is expressed as:\n"
185 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
186 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
187 "# time-handling sugar is provided by the client library\n"
188 "time stamp\n"
189 "#Frame this data is associated with\n"
190 "string frame_id\n"
191 "\n"
192 "================================================================================\n"
193 "MSG: nav_msgs/MapMetaData\n"
194 "# This hold basic information about the characterists of the OccupancyGrid\n"
195 "\n"
196 "# The time at which the map was loaded\n"
197 "time map_load_time\n"
198 "# The map resolution [m/cell]\n"
199 "float32 resolution\n"
200 "# Map width [cells]\n"
201 "uint32 width\n"
202 "# Map height [cells]\n"
203 "uint32 height\n"
204 "# The origin of the map [m, m, rad]. This is the real-world pose of the\n"
205 "# cell (0,0) in the map.\n"
206 "geometry_msgs/Pose origin\n"
207 "================================================================================\n"
208 "MSG: geometry_msgs/Pose\n"
209 "# A representation of pose in free space, composed of position and orientation. \n"
210 "Point position\n"
211 "Quaternion orientation\n"
212 "\n"
213 "================================================================================\n"
214 "MSG: geometry_msgs/Point\n"
215 "# This contains the position of a point in free space\n"
216 "float64 x\n"
217 "float64 y\n"
218 "float64 z\n"
219 "\n"
220 "================================================================================\n"
221 "MSG: geometry_msgs/Quaternion\n"
222 "# This represents an orientation in free space in quaternion form.\n"
223 "\n"
224 "float64 x\n"
225 "float64 y\n"
226 "float64 z\n"
227 "float64 w\n"
228 "\n"
229 "================================================================================\n"
230 "MSG: geometry_msgs/PoseWithCovarianceStamped\n"
231 "# This expresses an estimated pose with a reference coordinate frame and timestamp\n"
232 "\n"
233 "Header header\n"
234 "PoseWithCovariance pose\n"
235 "\n"
236 "================================================================================\n"
237 "MSG: geometry_msgs/PoseWithCovariance\n"
238 "# This represents a pose in free space with uncertainty.\n"
239 "\n"
240 "Pose pose\n"
241 "\n"
242 "# Row-major representation of the 6x6 covariance matrix\n"
243 "# The orientation parameters use a fixed-axis representation.\n"
244 "# In order, the parameters are:\n"
245 "# (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n"
246 "float64[36] covariance\n"
247 ;
248  }
249 
250  static const char* value(const ::nav_msgs::SetMapRequest_<ContainerAllocator>&) { return value(); }
251 };
252 
253 } // namespace message_traits
254 } // namespace roswrap
255 
256 namespace roswrap
257 {
258 namespace serialization
259 {
260 
261  template<class ContainerAllocator> struct Serializer< ::nav_msgs::SetMapRequest_<ContainerAllocator> >
262  {
263  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
264  {
265  stream.next(m.map);
266  stream.next(m.initial_pose);
267  }
268 
270  }; // struct SetMapRequest_
271 
272 } // namespace serialization
273 } // namespace roswrap
274 
275 namespace roswrap
276 {
277 namespace message_operations
278 {
279 
280 template<class ContainerAllocator>
281 struct Printer< ::nav_msgs::SetMapRequest_<ContainerAllocator> >
282 {
283  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nav_msgs::SetMapRequest_<ContainerAllocator>& v)
284  {
285  s << indent << "map: ";
286  s << std::endl;
288  s << indent << "initial_pose: ";
289  s << std::endl;
291  }
292 };
293 
294 } // namespace message_operations
295 } // namespace roswrap
296 
297 #endif // NAV_MSGS_MESSAGE_SETMAPREQUEST_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
nav_msgs::SetMapRequest_::ConstPtr
std::shared_ptr< ::nav_msgs::SetMapRequest_< ContainerAllocator > const > ConstPtr
Definition: SetMapRequest.h:52
roswrap::message_traits::DataType< ::nav_msgs::SetMapRequest_< ContainerAllocator > >::value
static const char * value()
Definition: SetMapRequest.h:145
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
roswrap::message_traits::DataType< ::nav_msgs::SetMapRequest_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::SetMapRequest_< ContainerAllocator > &)
Definition: SetMapRequest.h:150
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::serialization::Serializer< ::nav_msgs::SetMapRequest_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SetMapRequest.h:263
nav_msgs::SetMapRequest_::SetMapRequest_
SetMapRequest_(const ContainerAllocator &_alloc)
Definition: SetMapRequest.h:33
roswrap::message_traits::MD5Sum< ::nav_msgs::SetMapRequest_< ContainerAllocator > >::value
static const char * value()
Definition: SetMapRequest.h:132
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
roswrap::message_traits::Definition< ::nav_msgs::SetMapRequest_< ContainerAllocator > >::value
static const char * value()
Definition: SetMapRequest.h:156
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
nav_msgs::SetMapRequest_::map
_map_type map
Definition: SetMapRequest.h:42
nav_msgs::SetMapRequest_::Ptr
std::shared_ptr< ::nav_msgs::SetMapRequest_< ContainerAllocator > > Ptr
Definition: SetMapRequest.h:51
nav_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::nav_msgs::GetMapAction_< ContainerAllocator > &v)
Definition: GetMapAction.h:72
nav_msgs::SetMapRequestConstPtr
std::shared_ptr< ::nav_msgs::SetMapRequest const > SetMapRequestConstPtr
Definition: SetMapRequest.h:59
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
nav_msgs::SetMapRequest
::nav_msgs::SetMapRequest_< std::allocator< void > > SetMapRequest
Definition: SetMapRequest.h:56
roswrap::message_operations::Printer< ::nav_msgs::SetMapRequest_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::SetMapRequest_< ContainerAllocator > &v)
Definition: SetMapRequest.h:283
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::message_traits::Definition< ::nav_msgs::SetMapRequest_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::SetMapRequest_< ContainerAllocator > &)
Definition: SetMapRequest.h:250
OccupancyGrid.h
nav_msgs::SetMapRequest_::Type
SetMapRequest_< ContainerAllocator > Type
Definition: SetMapRequest.h:27
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
nav_msgs::SetMapRequest_::initial_pose
_initial_pose_type initial_pose
Definition: SetMapRequest.h:45
nav_msgs::SetMapRequest_
Definition: SetMapRequest.h:25
PoseWithCovarianceStamped.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
nav_msgs
Definition: GetMap.h:16
nav_msgs::SetMapRequest_::_initial_pose_type
::geometry_msgs::PoseWithCovarianceStamped_< ContainerAllocator > _initial_pose_type
Definition: SetMapRequest.h:44
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
nav_msgs::OccupancyGrid_
Definition: OccupancyGrid.h:25
nav_msgs::operator==
bool operator==(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:80
roswrap::message_traits::MD5Sum< ::nav_msgs::SetMapRequest_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::SetMapRequest_< ContainerAllocator > &)
Definition: SetMapRequest.h:137
geometry_msgs::PoseWithCovarianceStamped_
Definition: PoseWithCovarianceStamped.h:25
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
nav_msgs::SetMapRequest_::SetMapRequest_
SetMapRequest_()
Definition: SetMapRequest.h:29
nav_msgs::SetMapRequest_::_map_type
::nav_msgs::OccupancyGrid_< ContainerAllocator > _map_type
Definition: SetMapRequest.h:41
nav_msgs::operator!=
bool operator!=(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:88
nav_msgs::SetMapRequestPtr
std::shared_ptr< ::nav_msgs::SetMapRequest > SetMapRequestPtr
Definition: SetMapRequest.h:58


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