Go to the documentation of this file.    1 #ifndef AIKIDO_PERCEPTION_ASSET_DATABASE_HPP_ 
    2 #define AIKIDO_PERCEPTION_ASSET_DATABASE_HPP_ 
    6 #include <dart/common/LocalResourceRetriever.hpp> 
    7 #include <dart/dart.hpp> 
   13 namespace perception {
 
   47       const dart::common::ResourceRetrieverPtr& resourceRetriever,
 
   48       const dart::common::Uri& configDataURI);
 
   58       const std::string& assetKey,
 
   59       dart::common::Uri& assetResource,
 
   60       Eigen::Isometry3d& assetOffset) 
const;
 
   70 #endif // AIKIDO_PERCEPTION_OBJECT_DATABASE_HPP_ 
 
 
virtual ~AssetDatabase()=default
 
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
 
Instantiation of AssetDatabase that reads of JSON file containing the information that maps object ke...
Definition: AssetDatabase.hpp:39
 
YAML::Node mAssetData
The map of asset keys to object names and resources for models.
Definition: AssetDatabase.hpp:64
 
void getAssetByKey(const std::string &assetKey, dart::common::Uri &assetResource, Eigen::Isometry3d &assetOffset) const
Get the object name, resource, and offset from database by objectKey.
 
AssetDatabase(const dart::common::ResourceRetrieverPtr &resourceRetriever, const dart::common::Uri &configDataURI)
Construct a AssetDatabase that uses ResourceRetriever to load configuration data from a JSON file at ...