10 #include <RobotAPI/libraries/ArmarXObjects/aron/ObjectType.aron.generated.h>
11 #include <RobotAPI/libraries/ArmarXObjects/aron/ObjectPose.aron.generated.h>
12 #include <RobotAPI/libraries/ArmarXObjects/aron/PoseManifoldGaussian.aron.generated.h>
49 case arondto::ObjectType::AnyObject:
50 bo = ObjectType::AnyObject;
52 case arondto::ObjectType::KnownObject:
53 bo = ObjectType::KnownObject;
55 case arondto::ObjectType::UnknownObject:
56 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;
92 aron::fromAron(dto.objectPoseOriginalGaussian,
bo.objectPoseOriginalGaussian);
99 if (dto.attachmentValid)
106 bo.attachment = std::nullopt;
112 if (dto.localOOBBValid)
114 bo.localOOBB = simox::OrientedBoxf();
119 bo.localOOBB = std::nullopt;
127 toAron(dto.objectType,
bo.objectType);
132 aron::toAron(dto.objectPoseRobotGaussian,
bo.objectPoseRobotGaussian);
134 aron::toAron(dto.objectPoseGlobalGaussian,
bo.objectPoseGlobalGaussian);
136 aron::toAron(dto.objectPoseOriginalFrame,
bo.objectPoseOriginalFrame);
137 aron::toAron(dto.objectPoseOriginalGaussian,
bo.objectPoseOriginalGaussian);
147 dto.attachmentValid =
true;
148 toAron(dto.attachment, *
bo.attachment);
152 dto.attachmentValid =
false;
161 dto.localOOBBValid =
true;
162 toAron(dto.localOOBB, *
bo.localOOBB);
166 dto.localOOBBValid =
false;
167 toAron(dto.localOOBB, simox::OrientedBoxf());