Go to the documentation of this file. 1 #ifndef AIKIDO_PERCEPTION_DETECTEDOBJECT_HPP_
2 #define AIKIDO_PERCEPTION_DETECTEDOBJECT_HPP_
6 #include <dart/dart.hpp>
11 namespace perception {
55 const std::string& objectName,
57 const std::string& detectionFrameID,
58 const std::string& yamlStr);
63 std::string
getUid()
const;
81 void setMetaSkeleton(
const dart::dynamics::MetaSkeletonPtr& metaSkeleton);
118 #endif // AIKIDO_PERCEPTION_DETECTEDOBJECT_HPP_
YAML::Node getYamlNode()
Get the map of keys to additional informations.
std::string getAssetKey() const
Get the object key for AssetDatabase.
std::string mObjectName
The name of the object.
Definition: DetectedObject.hpp:95
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
void setMetaSkeleton(const dart::dynamics::MetaSkeletonPtr &metaSkeleton)
Set Metaskeleton.
std::string getName() const
Get the name of this object.
std::string mDetectionFrameID
The detection frame id that refers the origin of this object's pose.
Definition: DetectedObject.hpp:104
std::string getUid() const
Get the unique id of the object.
virtual ~DetectedObject()=default
std::string mAssetKey
The object key for AssetDatabase.
Definition: DetectedObject.hpp:101
std::string mUid
The unique id of the object.
Definition: DetectedObject.hpp:98
std::string getDetectionFrameID() const
Get the detection frame id that refers the origin of this object's pose.
dart::dynamics::MetaSkeletonPtr mMetaSkeleton
MetaSkeleton associated with this object.
Definition: DetectedObject.hpp:110
T getInfoByKey(const std::string &key) const
Get a specific value from the information map by a key and the typename of the field.
Definition: DetectedObject-impl.hpp:8
DetectedObject delegates a detected object from a third-party perception algorithm.
Definition: DetectedObject.hpp:41
DetectedObject()=default
Default constructor.
YAML::Node mYamlNode
The information map with additional information of this object.
Definition: DetectedObject.hpp:107
dart::dynamics::MetaSkeletonPtr getMetaSkeleton() const
Get the metaSkeleton associated with this object.