Go to the documentation of this file.
6 #ifndef NAV_MSGS_MESSAGE_GRIDCELLS_H
7 #define NAV_MSGS_MESSAGE_GRIDCELLS_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>
54 typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> ,
typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >
_cells_type;
61 typedef std::shared_ptr< ::nav_msgs::GridCells_<ContainerAllocator> >
Ptr;
62 typedef std::shared_ptr< ::nav_msgs::GridCells_<ContainerAllocator>
const>
ConstPtr;
66 typedef ::nav_msgs::GridCells_<std::allocator<void> >
GridCells;
75 template<
typename ContainerAllocator>
76 std::ostream&
operator<<(std::ostream& s, const ::nav_msgs::GridCells_<ContainerAllocator> & v)
83 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
84 bool operator==(const ::nav_msgs::GridCells_<ContainerAllocator1> & lhs, const ::nav_msgs::GridCells_<ContainerAllocator2> & rhs)
86 return lhs.header == rhs.header &&
87 lhs.cell_width == rhs.cell_width &&
88 lhs.cell_height == rhs.cell_height &&
89 lhs.cells == rhs.cells;
92 template<
typename ContainerAllocator1,
typename ContainerAllocator2>
93 bool operator!=(const ::nav_msgs::GridCells_<ContainerAllocator1> & lhs, const ::nav_msgs::GridCells_<ContainerAllocator2> & rhs)
103 namespace message_traits
110 template <
class ContainerAllocator>
115 template <
class ContainerAllocator>
120 template <
class ContainerAllocator>
125 template <
class ContainerAllocator>
130 template <
class ContainerAllocator>
135 template <
class ContainerAllocator>
141 template<
class ContainerAllocator>
146 return "b9e4f5df6d28e272ebde00a3994830f5";
149 static const char*
value(const ::nav_msgs::GridCells_<ContainerAllocator>&) {
return value(); }
150 static const uint64_t static_value1 = 0xb9e4f5df6d28e272ULL;
151 static const uint64_t static_value2 = 0xebde00a3994830f5ULL;
154 template<
class ContainerAllocator>
159 return "nav_msgs/GridCells";
162 static const char*
value(const ::nav_msgs::GridCells_<ContainerAllocator>&) {
return value(); }
165 template<
class ContainerAllocator>
170 return "#an array of cells in a 2D grid\n"
172 "float32 cell_width\n"
173 "float32 cell_height\n"
174 "geometry_msgs/Point[] cells\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: geometry_msgs/Point\n"
194 "# This contains the position of a point in free space\n"
201 static const char*
value(const ::nav_msgs::GridCells_<ContainerAllocator>&) {
return value(); }
209 namespace serialization
214 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
216 stream.next(m.header);
217 stream.next(m.cell_width);
218 stream.next(m.cell_height);
219 stream.next(m.cells);
230 namespace message_operations
233 template<
class ContainerAllocator>
236 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::nav_msgs::GridCells_<ContainerAllocator>& v)
243 s <<
indent <<
"cell_height: ";
245 s <<
indent <<
"cells[]" << std::endl;
246 for (
size_t i = 0; i < v.cells.size(); ++i)
248 s <<
indent <<
" cells[" << i <<
"]: ";
259 #endif // NAV_MSGS_MESSAGE_GRIDCELLS_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::shared_ptr< ::nav_msgs::GridCells const > GridCellsConstPtr
::nav_msgs::GridCells_< std::allocator< void > > GridCells
static const char * value(const ::nav_msgs::GridCells_< ContainerAllocator > &)
::std_msgs::Header_< ContainerAllocator > _header_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GridCells_(const ContainerAllocator &_alloc)
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...
std::shared_ptr< ::nav_msgs::GridCells_< ContainerAllocator > const > ConstPtr
#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)
Specialize to provide the datatype for a message.
static void allInOne(Stream &stream, T m)
Specialize to provide the definition for a message.
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::GridCells_< ContainerAllocator > &v)
static const char * value(const ::nav_msgs::GridCells_< ContainerAllocator > &)
static const char * value(const ::nav_msgs::GridCells_< ContainerAllocator > &)
std::shared_ptr< ::nav_msgs::GridCells_< ContainerAllocator > > Ptr
_cell_width_type cell_width
std::shared_ptr< ::nav_msgs::GridCells > GridCellsPtr
static const char * value()
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
bool operator==(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
std::vector< ::geometry_msgs::Point_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::geometry_msgs::Point_< ContainerAllocator > >::other > _cells_type
GridCells_< ContainerAllocator > Type
Stream base-class, provides common functionality for IStream and OStream.
static const char * value()
_cell_height_type cell_height
bool operator!=(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
static const char * value()
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08