Go to the documentation of this file.
6 #ifndef NAV_MSGS_MESSAGE_LOADMAPRESPONSE_H
7 #define NAV_MSGS_MESSAGE_LOADMAPRESPONSE_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
23 template <
class ContainerAllocator>
40 typedef ::nav_msgs::OccupancyGrid_<ContainerAllocator>
_map_type;
49 #if defined(_WIN32) && defined(RESULT_SUCCESS)
52 #if defined(_WIN32) && defined(RESULT_MAP_DOES_NOT_EXIST)
53 #undef RESULT_MAP_DOES_NOT_EXIST
55 #if defined(_WIN32) && defined(RESULT_INVALID_MAP_DATA)
56 #undef RESULT_INVALID_MAP_DATA
58 #if defined(_WIN32) && defined(RESULT_INVALID_MAP_METADATA)
59 #undef RESULT_INVALID_MAP_METADATA
61 #if defined(_WIN32) && defined(RESULT_UNDEFINED_FAILURE)
62 #undef RESULT_UNDEFINED_FAILURE
74 typedef std::shared_ptr< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
Ptr;
75 typedef std::shared_ptr< ::nav_msgs::LoadMapResponse_<ContainerAllocator>
const>
ConstPtr;
98 template<
typename ContainerAllocator>
99 std::ostream&
operator<<(std::ostream& s, const ::nav_msgs::LoadMapResponse_<ContainerAllocator> & v)
106 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
107 bool operator==(const ::nav_msgs::LoadMapResponse_<ContainerAllocator1> & lhs, const ::nav_msgs::LoadMapResponse_<ContainerAllocator2> & rhs)
109 return lhs.map == rhs.map &&
110 lhs.result == rhs.result;
113 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
114 bool operator!=(const ::nav_msgs::LoadMapResponse_<ContainerAllocator1> & lhs, const ::nav_msgs::LoadMapResponse_<ContainerAllocator2> & rhs)
116 return !(lhs == rhs);
124 namespace message_traits
131 template <
class ContainerAllocator>
136 template <
class ContainerAllocator>
141 template <
class ContainerAllocator>
146 template <
class ContainerAllocator>
151 template <
class ContainerAllocator>
156 template <
class ContainerAllocator>
162 template<
class ContainerAllocator>
167 return "079b9c828e9f7c1918bf86932fd7267e";
170 static const char*
value(const ::nav_msgs::LoadMapResponse_<ContainerAllocator>&) {
return value(); }
171 static const uint64_t static_value1 = 0x079b9c828e9f7c19ULL;
172 static const uint64_t static_value2 = 0x18bf86932fd7267eULL;
175 template<
class ContainerAllocator>
180 return "nav_msgs/LoadMapResponse";
183 static const char*
value(const ::nav_msgs::LoadMapResponse_<ContainerAllocator>&) {
return value(); }
186 template<
class ContainerAllocator>
191 return "# Result code defintions\n"
192 "uint8 RESULT_SUCCESS=0\n"
193 "uint8 RESULT_MAP_DOES_NOT_EXIST=1\n"
194 "uint8 RESULT_INVALID_MAP_DATA=2\n"
195 "uint8 RESULT_INVALID_MAP_METADATA=3\n"
196 "uint8 RESULT_UNDEFINED_FAILURE=255\n"
198 "# Returned map is only valid if result equals RESULT_SUCCESS\n"
199 "nav_msgs/OccupancyGrid map\n"
203 "================================================================================\n"
204 "MSG: nav_msgs/OccupancyGrid\n"
205 "# This represents a 2-D grid map, in which each cell represents the probability of\n"
210 "#MetaData for the map\n"
213 "# The map data, in row-major order, starting with (0,0). Occupancy\n"
214 "# probabilities are in the range [0,100]. Unknown is -1.\n"
217 "================================================================================\n"
218 "MSG: std_msgs/Header\n"
219 "# Standard metadata for higher-level stamped data types.\n"
220 "# This is generally used to communicate timestamped data \n"
221 "# in a particular coordinate frame.\n"
223 "# sequence ID: consecutively increasing ID \n"
225 "#Two-integer timestamp that is expressed as:\n"
226 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
227 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
228 "# time-handling sugar is provided by the client library\n"
230 "#Frame this data is associated with\n"
233 "================================================================================\n"
234 "MSG: nav_msgs/MapMetaData\n"
235 "# This hold basic information about the characterists of the OccupancyGrid\n"
237 "# The time at which the map was loaded\n"
238 "time map_load_time\n"
239 "# The map resolution [m/cell]\n"
240 "float32 resolution\n"
241 "# Map width [cells]\n"
243 "# Map height [cells]\n"
245 "# The origin of the map [m, m, rad]. This is the real-world pose of the\n"
246 "# cell (0,0) in the map.\n"
247 "geometry_msgs/Pose origin\n"
248 "================================================================================\n"
249 "MSG: geometry_msgs/Pose\n"
250 "# A representation of pose in free space, composed of position and orientation. \n"
252 "Quaternion orientation\n"
254 "================================================================================\n"
255 "MSG: geometry_msgs/Point\n"
256 "# This contains the position of a point in free space\n"
261 "================================================================================\n"
262 "MSG: geometry_msgs/Quaternion\n"
263 "# This represents an orientation in free space in quaternion form.\n"
272 static const char*
value(const ::nav_msgs::LoadMapResponse_<ContainerAllocator>&) {
return value(); }
280 namespace serialization
285 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
288 stream.next(m.result);
299 namespace message_operations
302 template<
class ContainerAllocator>
305 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::nav_msgs::LoadMapResponse_<ContainerAllocator>& v)
318 #endif // NAV_MSGS_MESSAGE_LOADMAPRESPONSE_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
LoadMapResponse_(const ContainerAllocator &_alloc)
static const char * value()
@ RESULT_UNDEFINED_FAILURE
Templated serialization class. Default implementation provides backwards compatibility with old messa...
@ RESULT_MAP_DOES_NOT_EXIST
@ RESULT_INVALID_MAP_DATA
::nav_msgs::OccupancyGrid_< ContainerAllocator > _map_type
static void stream(Stream &s, const std::string &indent, const M &value)
std::shared_ptr< ::nav_msgs::LoadMapResponse_< ContainerAllocator > > Ptr
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
static const char * value()
std::ostream & operator<<(std::ostream &s, const ::nav_msgs::GetMapAction_< ContainerAllocator > &v)
std::shared_ptr< ::nav_msgs::LoadMapResponse > LoadMapResponsePtr
Specialize to provide the datatype for a message.
std::shared_ptr< ::nav_msgs::LoadMapResponse_< ContainerAllocator > const > ConstPtr
Specialize to provide the definition for a message.
static const char * value()
@ RESULT_INVALID_MAP_METADATA
static const char * value(const ::nav_msgs::LoadMapResponse_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::LoadMapResponse_< ContainerAllocator > &v)
::nav_msgs::LoadMapResponse_< std::allocator< void > > LoadMapResponse
std::shared_ptr< ::nav_msgs::LoadMapResponse const > LoadMapResponseConstPtr
static const char * value(const ::nav_msgs::LoadMapResponse_< ContainerAllocator > &)
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
static void allInOne(Stream &stream, T m)
bool operator==(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Stream base-class, provides common functionality for IStream and OStream.
static const char * value(const ::nav_msgs::LoadMapResponse_< ContainerAllocator > &)
LoadMapResponse_< ContainerAllocator > Type
bool operator!=(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08