|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IMAP2D_H
10 #define YARP_DEV_IMAP2D_H
151 virtual bool renameLocation(std::string original_name, std::string new_name) = 0;
173 virtual bool renameArea(std::string original_name, std::string new_name) = 0;
181 virtual bool renamePath(std::string original_name, std::string new_name) = 0;
220 #endif // YARP_DEV_IMAP2D_H
constexpr yarp::conf::vocab32_t VOCAB_IMAP_SET_MAP
constexpr yarp::conf::vocab32_t VOCAB_IMAP_REMOVE
virtual bool clearAllLocations()=0
Delete all stored locations.
contains the definition of a map type
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
virtual bool getLocationsList(std::vector< std::string > &locations)=0
Get a list of all stored locations.
contains the definition of a Map2DArea type
virtual bool get_map_names(std::vector< std::string > &map_names)=0
Gets a list containing the names of all registered maps.
virtual bool deleteArea(std::string area_name)=0
Delete an area.
virtual bool clearAllMaps()=0
Removes all the registered maps from the server.
constexpr yarp::conf::vocab32_t VOCAB_IMAP_GET_MAP
constexpr yarp::conf::vocab32_t VOCAB_IMAP_GET_NAMES
virtual bool renameArea(std::string original_name, std::string new_name)=0
Searches for an area and renames it.
virtual bool remove_map(std::string map_name)=0
Removes a map from the map server.
virtual bool clearAllAreas()=0
Delete all stored areas.
virtual bool get_map(std::string map_name, yarp::dev::Nav2D::MapGrid2D &map)=0
Gets a map from the map server.
constexpr yarp::conf::vocab32_t VOCAB_IMAP_LOAD_COLLECTION
virtual ~IMap2D()
Destructor.
virtual bool getPath(std::string path_name, yarp::dev::Nav2D::Map2DPath &path)=0
Retrieves a path.
virtual bool getPathsList(std::vector< std::string > &paths)=0
Get a list of all stored paths.
virtual bool store_map(const yarp::dev::Nav2D::MapGrid2D &map)=0
Stores a map into the map server.
virtual bool storePath(std::string path_name, yarp::dev::Nav2D::Map2DPath path)=0
Store a path.
contains the definition of a Map2DLocation type
virtual bool getAreasList(std::vector< std::string > &areas)=0
Get a list of all stored areas.
virtual bool renameLocation(std::string original_name, std::string new_name)=0
Searches for a location and renames it.
virtual bool storeLocation(std::string location_name, yarp::dev::Nav2D::Map2DLocation loc)=0
Store a location specified by the user in the world reference frame.
constexpr yarp::conf::vocab32_t VOCAB_IMAP_CLEAR
virtual bool renamePath(std::string original_name, std::string new_name)=0
Searches for a path and renames it.
virtual bool getArea(std::string area_name, yarp::dev::Nav2D::Map2DArea &area)=0
Retrieves an area.
virtual bool deletePath(std::string path_name)=0
Delete a path.
contains the definition of a Map2DPath type
constexpr yarp::conf::vocab32_t VOCAB_IMAP_OK
constexpr yarp::conf::vocab32_t VOCAB_IMAP_SAVE_COLLECTION
constexpr yarp::conf::vocab32_t VOCAB_IMAP_ERROR
The main, catch-all namespace for YARP.
virtual bool clearAllPaths()=0
Delete all stored paths.
virtual bool deleteLocation(std::string location_name)=0
Delete a location.
virtual bool getLocation(std::string location_name, yarp::dev::Nav2D::Map2DLocation &loc)=0
Retrieves a location specified by the user in the world reference frame.
constexpr yarp::conf::vocab32_t VOCAB_IMAP
virtual bool storeArea(std::string area_name, yarp::dev::Nav2D::Map2DArea area)=0
Store an area.