Go to the documentation of this file.
6 #ifndef NAV_MSGS_MESSAGE_OCCUPANCYGRID_H
7 #define NAV_MSGS_MESSAGE_OCCUPANCYGRID_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
24 template <
class ContainerAllocator>
46 typedef ::nav_msgs::MapMetaData_<ContainerAllocator>
_info_type;
49 typedef std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >
_data_type;
56 typedef std::shared_ptr< ::nav_msgs::OccupancyGrid_<ContainerAllocator> >
Ptr;
57 typedef std::shared_ptr< ::nav_msgs::OccupancyGrid_<ContainerAllocator>
const>
ConstPtr;
61 typedef ::nav_msgs::OccupancyGrid_<std::allocator<void> >
OccupancyGrid;
70 template<
typename ContainerAllocator>
71 std::ostream&
operator<<(std::ostream& s, const ::nav_msgs::OccupancyGrid_<ContainerAllocator> & v)
78 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
79 bool operator==(const ::nav_msgs::OccupancyGrid_<ContainerAllocator1> & lhs, const ::nav_msgs::OccupancyGrid_<ContainerAllocator2> & rhs)
81 return lhs.header == rhs.header &&
82 lhs.info == rhs.info &&
86 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
87 bool operator!=(const ::nav_msgs::OccupancyGrid_<ContainerAllocator1> & lhs, const ::nav_msgs::OccupancyGrid_<ContainerAllocator2> & rhs)
97 namespace message_traits
104 template <
class ContainerAllocator>
109 template <
class ContainerAllocator>
114 template <
class ContainerAllocator>
119 template <
class ContainerAllocator>
124 template <
class ContainerAllocator>
129 template <
class ContainerAllocator>
135 template<
class ContainerAllocator>
140 return "3381f2d731d4076ec5c71b0759edbe4e";
143 static const char*
value(const ::nav_msgs::OccupancyGrid_<ContainerAllocator>&) {
return value(); }
144 static const uint64_t static_value1 = 0x3381f2d731d4076eULL;
145 static const uint64_t static_value2 = 0xc5c71b0759edbe4eULL;
148 template<
class ContainerAllocator>
153 return "nav_msgs/OccupancyGrid";
156 static const char*
value(const ::nav_msgs::OccupancyGrid_<ContainerAllocator>&) {
return value(); }
159 template<
class ContainerAllocator>
164 return "# This represents a 2-D grid map, in which each cell represents the probability of\n"
169 "#MetaData for the map\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"
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"
182 "# sequence ID: consecutively increasing ID \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"
189 "#Frame this data is associated with\n"
192 "================================================================================\n"
193 "MSG: nav_msgs/MapMetaData\n"
194 "# This hold basic information about the characterists of the OccupancyGrid\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"
202 "# Map height [cells]\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"
211 "Quaternion orientation\n"
213 "================================================================================\n"
214 "MSG: geometry_msgs/Point\n"
215 "# This contains the position of a point in free space\n"
220 "================================================================================\n"
221 "MSG: geometry_msgs/Quaternion\n"
222 "# This represents an orientation in free space in quaternion form.\n"
231 static const char*
value(const ::nav_msgs::OccupancyGrid_<ContainerAllocator>&) {
return value(); }
239 namespace serialization
244 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
246 stream.next(m.header);
259 namespace message_operations
262 template<
class ContainerAllocator>
265 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::nav_msgs::OccupancyGrid_<ContainerAllocator>& v)
273 s <<
indent <<
"data[]" << std::endl;
274 for (
size_t i = 0; i < v.data.size(); ++i)
276 s <<
indent <<
" data[" << i <<
"]: ";
285 #endif // NAV_MSGS_MESSAGE_OCCUPANCYGRID_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value(const ::nav_msgs::OccupancyGrid_< ContainerAllocator > &)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value()
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value(const ::nav_msgs::OccupancyGrid_< ContainerAllocator > &)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
std::ostream & operator<<(std::ostream &s, const ::nav_msgs::GetMapAction_< ContainerAllocator > &v)
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::OccupancyGrid_< ContainerAllocator > &v)
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
std::shared_ptr< ::nav_msgs::OccupancyGrid > OccupancyGridPtr
std::shared_ptr< ::nav_msgs::OccupancyGrid const > OccupancyGridConstPtr
std::vector< int8_t, typename ContainerAllocator::template rebind< int8_t >::other > _data_type
OccupancyGrid_(const ContainerAllocator &_alloc)
std::shared_ptr< ::nav_msgs::OccupancyGrid_< ContainerAllocator > > Ptr
OccupancyGrid_< ContainerAllocator > Type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
std::shared_ptr< ::nav_msgs::OccupancyGrid_< ContainerAllocator > const > ConstPtr
::std_msgs::Header_< ContainerAllocator > _header_type
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 void allInOne(Stream &stream, T m)
::nav_msgs::MapMetaData_< ContainerAllocator > _info_type
bool operator!=(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
static const char * value()
static const char * value()
static const char * value(const ::nav_msgs::OccupancyGrid_< ContainerAllocator > &)
::nav_msgs::OccupancyGrid_< std::allocator< void > > OccupancyGrid
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09