6#include <RobotAPI/libraries/ArmarXObjects/aron/ObjectPose.aron.generated.h>
7#include <RobotAPI/libraries/ArmarXObjects/aron/ObjectType.aron.generated.h>
8#include <RobotAPI/libraries/ArmarXObjects/aron/PoseManifoldGaussian.aron.generated.h>
47 case arondto::ObjectType::AnyObject:
48 bo = ObjectType::AnyObject;
50 case arondto::ObjectType::KnownObject:
51 bo = ObjectType::KnownObject;
53 case arondto::ObjectType::UnknownObject:
54 bo = ObjectType::UnknownObject;
65 case ObjectType::AnyObject:
66 dto.value = arondto::ObjectType::AnyObject;
68 case ObjectType::KnownObject:
69 dto.value = arondto::ObjectType::KnownObject;
71 case ObjectType::UnknownObject:
72 dto.value = arondto::ObjectType::UnknownObject;
99 if (dto.attachmentValid)
112 if (dto.localOOBBValid)
147 dto.attachmentValid =
true;
152 dto.attachmentValid =
false;
161 dto.localOOBBValid =
true;
166 dto.localOOBBValid =
false;
167 toAron(dto.localOOBB, simox::OrientedBoxf());
#define ARMARX_UNEXPECTED_ENUM_VALUE(EnumType, value)
Throw an UnexpectedEnumValueException.
void fromAron(const T &dto, T &bo)
void toAron(T &dto, const T &bo)
Framework for converting ARON DTOs (Data Transfer Objects) to C++ BOs (Business Objects) and back.
void toAron(arondto::ObjectAttachmentInfo &dto, const ObjectAttachmentInfo &bo)
void fromAron(const arondto::ObjectAttachmentInfo &dto, ObjectAttachmentInfo &bo)
Eigen::Matrix4f poseInFrame
An object pose as stored by the ObjectPoseStorage.
float confidence
Confidence in [0, 1] (1 = full, 0 = none).
armarx::ObjectID objectID
The object ID, i.e. dataset, class name and instance name.
std::optional< ObjectAttachmentInfo > attachment
Attachment information.
std::map< std::string, float > robotConfig
The robot config when the object was observed.
std::string providerName
Name of the providing component.
bool isStatic
Whether object is static. Static objects don't decay.
DateTime timestamp
Source timestamp.
Eigen::Matrix4f objectPoseRobot
The object pose in the robot root frame.
Eigen::Matrix4f robotPose
The robot pose when the object was observed.
Eigen::Matrix4f objectPoseOriginal
The object pose in the frame it was originally localized in.
ObjectType objectType
Known or unknown object.
std::optional< PoseManifoldGaussian > objectPoseGlobalGaussian
... and with uncertainty.
std::map< std::string, float > objectJointValues
The object's joint values if it is articulated.
std::optional< simox::OrientedBoxf > localOOBB
Object bounding box in object's local coordinate frame.
std::optional< PoseManifoldGaussian > objectPoseOriginalGaussian
... and with uncertainty.
Eigen::Matrix4f objectPoseGlobal
The object pose in the global frame.
std::string robotName
The name of the robot.
std::optional< PoseManifoldGaussian > objectPoseRobotGaussian
... and with uncertainty.
std::string objectPoseOriginalFrame
The frame the object was originally localized in.
A "gaussian" distribution in pose space (i.e.
Eigen::Matrix4f mean
The mean (i.e. a pose).
Eigen::Matrix< float, 6, 6 > covariance
The covariance matrix.