6#ifndef YARP_DEV_MAP2DPATH_H
7#define YARP_DEV_MAP2DPATH_H
25 Map2DPath(
const std::vector<yarp::dev::Nav2D::Map2DLocation>& map_waypoints,
const std::string& desc =
"");
42 bool operator!=(
const Map2DPath& r)
const;
67 double getLength()
const;
73 bool isOnSingleMap()
const;
78 return Map2DPathData::read(reader);
82 return Map2DPathData::write(writer);
86 return Map2DPathData::read(reader);
90 return Map2DPathData::write(writer);
99 using iterator = std::vector<Map2DLocation>::iterator;
bool operator==(const struct v4l2_control &left, const struct v4l2_control &right)
std::string toString(const T &value)
convert an arbitrary type to string.
contains the definition of a Map2DLocation type
contains the definition of a map type
bool write(yarp::os::ConnectionWriter &writer) const override
Write this object to a network connection.
std::vector< Map2DLocation >::const_iterator const_iterator
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override
bool read(yarp::os::ConnectionReader &reader) override
Read this object from a network connection.
std::vector< Map2DLocation >::iterator iterator
An interface for reading from a network connection.
An interface for writing to a network connection.
IDL-friendly connection reader.
IDL-friendly connection writer.
The main, catch-all namespace for YARP.