Connects to model database, and has utility functions to find models. More...
#include <common/common.hh>
Static Public Member Functions | |
static void | DownloadDependencies (const std::string &_path) |
Download all dependencies for a give model path. | |
static std::string | GetManifest (const std::string &_uri) |
Return the manifest.xml file as a string. | |
static std::string | GetModelFile (const std::string &_uri) |
Get a model's SDF file based on a URI. | |
static std::string | GetModelName (const std::string &_uri) |
Get the name of a model based on a URI. | |
static std::string | GetModelPath (const std::string &_uri) |
Get the local path to a model. | |
static std::map< std::string, std::string > | GetModels () |
Returns the dictionary of all the model names. | |
static std::string | GetURI () |
Returns the the global model database URI. | |
static bool | HasModel (const std::string &_modelName) |
Returns true if the model exists on the database. | |
Connects to model database, and has utility functions to find models.