17#ifndef YARP_ROSMSG_nav_msgs_GridCells_h
18#define YARP_ROSMSG_nav_msgs_GridCells_h
38 std::vector<yarp::rosmsg::geometry_msgs::Point>
cells;
79 for (
int i=0; i<len; i++) {
113 for (
int i=0; i<len; i++) {
144 for (
size_t i=0; i<
cells.size(); i++) {
174 for (
size_t i=0; i<
cells.size(); i++) {
197 static constexpr const char*
typeName =
"nav_msgs/GridCells";
200 static constexpr const char*
typeChecksum =
"b9e4f5df6d28e272ebde00a3994830f5";
204#an array of cells in a 2D grid\n\
207float32 cell_height\n\
208geometry_msgs/Point[] cells\n\
210================================================================================\n\
211MSG: std_msgs/Header\n\
212# Standard metadata for higher-level stamped data types.\n\
213# This is generally used to communicate timestamped data \n\
214# in a particular coordinate frame.\n\
216# sequence ID: consecutively increasing ID \n\
218#Two-integer timestamp that is expressed as:\n\
219# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
220# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
221# time-handling sugar is provided by the client library\n\
223#Frame this data is associated with\n\
228================================================================================\n\
229MSG: geometry_msgs/Point\n\
230# This contains the position of a point in free space\n\
#define BOTTLE_TAG_FLOAT32
An interface for reading from a network connection.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
virtual yarp::conf::float32_t expectFloat32()=0
Read a 32-bit floating point number from the network connection.
virtual bool isError() const =0
An interface for writing to a network connection.
virtual bool isError() const =0
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual void appendFloat32(yarp::conf::float32_t data)=0
Send a representation of a 32-bit floating point number to the network connection.
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
static Type byName(const char *name)
Type & addProperty(const char *key, const Value &val)
A single value (typically within a Bottle).
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool write(const yarp::os::idl::WireWriter &writer) const
IDL-friendly connection reader.
yarp::conf::float32_t expectFloat32()
bool readBottle(yarp::os::ConnectionReader &connection) override
static constexpr const char * typeChecksum
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * typeName
yarp::os::Type getType() const override
yarp::os::idl::BottleStyle< yarp::rosmsg::nav_msgs::GridCells > bottleStyle
yarp::conf::float32_t cell_width
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
yarp::os::idl::BareStyle< yarp::rosmsg::nav_msgs::GridCells > rosStyle
std::vector< yarp::rosmsg::geometry_msgs::Point > cells
bool readBare(yarp::os::ConnectionReader &connection) override
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
yarp::conf::float32_t cell_height
static constexpr const char * typeText
yarp::rosmsg::std_msgs::Header header
bool writeBare(yarp::os::ConnectionWriter &connection) const override
The main, catch-all namespace for YARP.