|
|
An object pose as stored by the ObjectPoseStorage. More...
#include <RobotAPI/libraries/ArmarXObjects/ObjectPose.h>
Public Member Functions | |
| void | fromIce (const data::ObjectPose &ice) |
| void | fromProvidedPose (const data::ProvidedObjectPose &provided, VirtualRobot::RobotPtr robot=nullptr) |
| objpose::ObjectPose | getAttached (VirtualRobot::RobotPtr agent) const |
Get a copy of *this with updated attachment. More... | |
| ObjectPose () | |
| ObjectPose (const data::ObjectPose &ice) | |
| std::optional< simox::OrientedBoxf > | oobbGlobal () const |
Get the OOBB in the global frame (according to objectPoseGlobal). More... | |
| std::optional< simox::OrientedBoxf > | oobbRobot () const |
Get the OOBB in the robot frame (according to objectPoseRobot). More... | |
| void | setObjectPoseGlobal (const Eigen::Matrix4f &objectPoseGlobal, bool updateObjectPoseRobot=true) |
| void | setObjectPoseRobot (const Eigen::Matrix4f &objectPoseRobot, bool updateObjectPoseGlobal=true) |
| data::ObjectPose | toIce () const |
| void | toIce (data::ObjectPose &ice) const |
| objpose::ProvidedObjectPose | toProvidedObjectPoseGlobal () const |
| void | updateAttached (VirtualRobot::RobotPtr agent) |
| Update an the object pose and robot state of an attached object pose according to the given agent state (in-place). More... | |
Public Attributes | |
| std::optional< PackagePath > | articulatedSimoxXmlPath |
| std::optional< ObjectAttachmentInfo > | attachment |
| Attachment information. More... | |
| float | confidence = 0 |
| Confidence in [0, 1] (1 = full, 0 = none). More... | |
| bool | isStatic = false |
| Whether object is static. Static objects don't decay. More... | |
| std::optional< simox::OrientedBoxf > | localOOBB |
| Object bounding box in object's local coordinate frame. More... | |
| armarx::ObjectID | objectID |
| The object ID, i.e. dataset, class name and instance name. More... | |
| std::map< std::string, float > | objectJointValues |
| The object's joint values if it is articulated. More... | |
| Eigen::Matrix4f | objectPoseGlobal = Eigen::Matrix4f::Identity() |
| The object pose in the global frame. More... | |
| std::optional< PoseManifoldGaussian > | objectPoseGlobalGaussian |
| ... and with uncertainty. More... | |
| Eigen::Matrix4f | objectPoseOriginal = Eigen::Matrix4f::Identity() |
| The object pose in the frame it was originally localized in. More... | |
| std::string | objectPoseOriginalFrame |
| The frame the object was originally localized in. More... | |
| std::optional< PoseManifoldGaussian > | objectPoseOriginalGaussian |
| ... and with uncertainty. More... | |
| Eigen::Matrix4f | objectPoseRobot = Eigen::Matrix4f::Identity() |
| The object pose in the robot root frame. More... | |
| std::optional< PoseManifoldGaussian > | objectPoseRobotGaussian |
| ... and with uncertainty. More... | |
| ObjectType | objectType = AnyObject |
| Known or unknown object. More... | |
| std::string | providerName |
| Name of the providing component. More... | |
| std::map< std::string, float > | robotConfig |
| The robot config when the object was observed. More... | |
| std::string | robotName |
| The name of the robot. More... | |
| Eigen::Matrix4f | robotPose = Eigen::Matrix4f::Identity() |
| The robot pose when the object was observed. More... | |
| DateTime | timestamp = DateTime::Invalid() |
| Source timestamp. More... | |
An object pose as stored by the ObjectPoseStorage.
Definition at line 33 of file ObjectPose.h.
| ObjectPose | ( | ) |
Definition at line 21 of file ObjectPose.cpp.
| ObjectPose | ( | const data::ObjectPose & | ice | ) |
| void fromIce | ( | const data::ObjectPose & | ice | ) |
Definition at line 31 of file ObjectPose.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void fromProvidedPose | ( | const data::ProvidedObjectPose & | provided, |
| VirtualRobot::RobotPtr | robot = nullptr |
||
| ) |
| objpose::ObjectPose getAttached | ( | VirtualRobot::RobotPtr | agent | ) | const |
Get a copy of *this with updated attachment.
updateAttached() Definition at line 252 of file ObjectPose.cpp.
Here is the call graph for this function:| std::optional< simox::OrientedBoxf > oobbGlobal | ( | ) | const |
Get the OOBB in the global frame (according to objectPoseGlobal).
Definition at line 242 of file ObjectPose.cpp.
Here is the caller graph for this function:| std::optional< simox::OrientedBoxf > oobbRobot | ( | ) | const |
Get the OOBB in the robot frame (according to objectPoseRobot).
Definition at line 232 of file ObjectPose.cpp.
Here is the caller graph for this function:| void setObjectPoseGlobal | ( | const Eigen::Matrix4f & | objectPoseGlobal, |
| bool | updateObjectPoseRobot = true |
||
| ) |
| void setObjectPoseRobot | ( | const Eigen::Matrix4f & | objectPoseRobot, |
| bool | updateObjectPoseGlobal = true |
||
| ) |
Definition at line 210 of file ObjectPose.cpp.
| data::ObjectPose toIce | ( | ) | const |
| void toIce | ( | data::ObjectPose & | ice | ) | const |
| objpose::ProvidedObjectPose toProvidedObjectPoseGlobal | ( | ) | const |
Definition at line 185 of file ObjectPose.cpp.
| void updateAttached | ( | VirtualRobot::RobotPtr | agent | ) |
Update an the object pose and robot state of an attached object pose according to the given agent state (in-place).
| agent | The agent/robot. |
Definition at line 262 of file ObjectPose.cpp.
Here is the caller graph for this function:| std::optional<PackagePath> articulatedSimoxXmlPath |
Definition at line 123 of file ObjectPose.h.
| std::optional<ObjectAttachmentInfo> attachment |
Attachment information.
Definition at line 93 of file ObjectPose.h.
| float confidence = 0 |
Confidence in [0, 1] (1 = full, 0 = none).
Definition at line 96 of file ObjectPose.h.
| bool isStatic = false |
Whether object is static. Static objects don't decay.
Definition at line 63 of file ObjectPose.h.
| std::optional<simox::OrientedBoxf> localOOBB |
Object bounding box in object's local coordinate frame.
Definition at line 102 of file ObjectPose.h.
| armarx::ObjectID objectID |
The object ID, i.e. dataset, class name and instance name.
Definition at line 56 of file ObjectPose.h.
| std::map<std::string, float> objectJointValues |
The object's joint values if it is articulated.
Definition at line 83 of file ObjectPose.h.
| Eigen::Matrix4f objectPoseGlobal = Eigen::Matrix4f::Identity() |
The object pose in the global frame.
Definition at line 71 of file ObjectPose.h.
| std::optional<PoseManifoldGaussian> objectPoseGlobalGaussian |
... and with uncertainty.
Definition at line 73 of file ObjectPose.h.
| Eigen::Matrix4f objectPoseOriginal = Eigen::Matrix4f::Identity() |
The object pose in the frame it was originally localized in.
Definition at line 76 of file ObjectPose.h.
| std::string objectPoseOriginalFrame |
The frame the object was originally localized in.
Definition at line 78 of file ObjectPose.h.
| std::optional<PoseManifoldGaussian> objectPoseOriginalGaussian |
... and with uncertainty.
Definition at line 80 of file ObjectPose.h.
| Eigen::Matrix4f objectPoseRobot = Eigen::Matrix4f::Identity() |
The object pose in the robot root frame.
Definition at line 66 of file ObjectPose.h.
| std::optional<PoseManifoldGaussian> objectPoseRobotGaussian |
... and with uncertainty.
Definition at line 68 of file ObjectPose.h.
| ObjectType objectType = AnyObject |
Known or unknown object.
Definition at line 61 of file ObjectPose.h.
| std::string providerName |
Name of the providing component.
Definition at line 59 of file ObjectPose.h.
| std::map<std::string, float> robotConfig |
The robot config when the object was observed.
Definition at line 86 of file ObjectPose.h.
| std::string robotName |
The name of the robot.
Definition at line 90 of file ObjectPose.h.
| Eigen::Matrix4f robotPose = Eigen::Matrix4f::Identity() |
The robot pose when the object was observed.
Definition at line 88 of file ObjectPose.h.
| DateTime timestamp = DateTime::Invalid() |
Source timestamp.
Definition at line 98 of file ObjectPose.h.