|
This file is part of ArmarX. More...
Namespaces | |
arondto | |
data | |
Classes | |
struct | ObjectAttachmentInfo |
struct | ObjectPose |
An object pose as stored by the ObjectPoseStorage. More... | |
class | ObjectPoseClient |
Provides access to the armarx::objpose::ObjectPoseStorageInterface (aka the object memory). More... | |
struct | PoseManifoldGaussian |
A "gaussian" distribution in pose space (i.e. More... | |
class | ProvidedObjectPose |
An object pose provided by an ObjectPoseProvider. More... | |
class | RequestedObjects |
Handles requests for object pose estimation from the ObjectPoseProviderInterface. More... | |
Typedefs | |
using | ObjectPoseMap = std::map< ObjectID, ObjectPose > |
using | ObjectPoseSeq = std::vector< ObjectPose > |
using | ProvidedObjectPoseMap = std::map< ObjectID, ProvidedObjectPose > |
using | ProvidedObjectPoseSeq = std::vector< ProvidedObjectPose > |
Functions | |
VirtualRobot::ManipulationObjectPtr | asManipulationObject (const objpose::ObjectPose &objectPose) |
VirtualRobot::SceneObjectSetPtr | asSceneObjects (const objpose::ObjectPoseSeq &objectPoses) |
objpose::ObjectPoseSeq | filterObjects (objpose::ObjectPoseSeq objects, const std::vector< std::string > &datasetBlocklist) |
const data::ObjectPose * | findObjectPoseByID (const data::ObjectPoseSeq &objectPoses, const armarx::data::ObjectID &id) |
const ObjectPose * | findObjectPoseByID (const ObjectPoseSeq &objectPoses, const ObjectID &id) |
data::ObjectPose * | findObjectPoseByID (data::ObjectPoseSeq &objectPoses, const armarx::data::ObjectID &id) |
ObjectPose * | findObjectPoseByID (ObjectPoseSeq &objectPoses, const ObjectID &id) |
Find an object pose by the object ID. More... | |
void | from_json (const simox::json::json &j, ObjectPose &op) |
void | fromAron (const arondto::ObjectAttachmentInfo &dto, ObjectAttachmentInfo &bo) |
void | fromAron (const arondto::ObjectPose &dto, ObjectPose &bo) |
void | fromAron (const arondto::ObjectType &dto, ObjectType &bo) |
void | fromAron (const arondto::PoseManifoldGaussian &dto, PoseManifoldGaussian &bo) |
simox::OrientedBox< float > | fromIce (const Box &box) |
void | fromIce (const Box &box, simox::OrientedBox< float > &oobb) |
void | fromIce (const BoxPtr &box, std::optional< simox::OrientedBox< float >> &oobb) |
void | fromIce (const data::ObjectAttachmentInfo &ice, ObjectAttachmentInfo &attachment) |
std::optional< ObjectAttachmentInfo > | fromIce (const data::ObjectAttachmentInfoPtr &ice) |
void | fromIce (const data::ObjectAttachmentInfoPtr &ice, std::optional< ObjectAttachmentInfo > &attachment) |
ObjectPose | fromIce (const data::ObjectPose &ice) |
void | fromIce (const data::ObjectPose &ice, ObjectPose &pose) |
ObjectPoseSeq | fromIce (const data::ObjectPoseSeq &ice) |
void | fromIce (const data::ObjectPoseSeq &ice, ObjectPoseSeq &poses) |
void | fromIce (const data::PoseManifoldGaussian &ice, PoseManifoldGaussian &cov) |
std::optional< PoseManifoldGaussian > | fromIce (const data::PoseManifoldGaussianPtr &ice) |
void | fromIce (const data::PoseManifoldGaussianPtr &ice, std::optional< PoseManifoldGaussian > &cov) |
ProvidedObjectPose | fromIce (const data::ProvidedObjectPose &ice) |
void | fromIce (const data::ProvidedObjectPose &ice, ProvidedObjectPose &pose) |
ProvidedObjectPoseSeq | fromIce (const data::ProvidedObjectPoseSeq &ice) |
void | fromIce (const data::ProvidedObjectPoseSeq &ice, ProvidedObjectPoseSeq &poses) |
objpose::ObjectPosePredictionResult | predictObjectPoseLinear (const std::map< DateTime, ObjectPose > &poses, const DateTime &time, const ObjectPose &latestPose) |
Predict the pose of an object given a history of poses based on a linear regression. More... | |
void | to_json (simox::json::json &j, const ObjectPose &op) |
void | toAron (arondto::ObjectAttachmentInfo &dto, const ObjectAttachmentInfo &bo) |
void | toAron (arondto::ObjectPose &dto, const ObjectPose &bo) |
void | toAron (arondto::ObjectType &dto, const ObjectType &bo) |
void | toAron (arondto::PoseManifoldGaussian &dto, const PoseManifoldGaussian &bo) |
void | toIce (Box &box, const simox::OrientedBox< float > &oobb) |
void | toIce (BoxPtr &box, const std::optional< simox::OrientedBox< float >> &oobb) |
data::ObjectPose | toIce (const ObjectPose &pose) |
data::ObjectPoseSeq | toIce (const ObjectPoseSeq &poses) |
data::ProvidedObjectPose | toIce (const ProvidedObjectPose &pose) |
data::ProvidedObjectPoseSeq | toIce (const ProvidedObjectPoseSeq &poses) |
objpose::AABB | toIce (const simox::AxisAlignedBoundingBox &aabb) |
Box | toIce (const simox::OrientedBox< float > &oobb) |
data::ObjectAttachmentInfoPtr | toIce (const std::optional< ObjectAttachmentInfo > &ice) |
data::PoseManifoldGaussianPtr | toIce (const std::optional< PoseManifoldGaussian > &ice) |
void | toIce (data::ObjectAttachmentInfo &ice, const ObjectAttachmentInfo &attachment) |
void | toIce (data::ObjectAttachmentInfoPtr &ice, const std::optional< ObjectAttachmentInfo > &attachment) |
void | toIce (data::ObjectPose &ice, const ObjectPose &pose) |
void | toIce (data::ObjectPoseSeq &ice, const ObjectPoseSeq &poses) |
void | toIce (data::PoseManifoldGaussian &ice, const PoseManifoldGaussian &cov) |
void | toIce (data::PoseManifoldGaussianPtr &ice, const std::optional< PoseManifoldGaussian > &cov) |
void | toIce (data::ProvidedObjectPose &ice, const ProvidedObjectPose &pose) |
void | toIce (data::ProvidedObjectPoseSeq &ice, const ProvidedObjectPoseSeq &poses) |
Variables | |
const simox::meta::EnumNames< objpose::ObjectType > | ObjectTypeNames |
This file is part of ArmarX.
ArmarX is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
ArmarX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
using ObjectPoseMap = std::map<ObjectID, ObjectPose> |
Definition at line 21 of file forward_declarations.h.
using ObjectPoseSeq = std::vector<ObjectPose> |
Definition at line 20 of file forward_declarations.h.
using ProvidedObjectPoseMap = std::map<ObjectID, ProvidedObjectPose> |
Definition at line 26 of file forward_declarations.h.
using ProvidedObjectPoseSeq = std::vector<ProvidedObjectPose> |
Definition at line 25 of file forward_declarations.h.
VirtualRobot::ManipulationObjectPtr asManipulationObject | ( | const objpose::ObjectPose & | objectPose | ) |
VirtualRobot::SceneObjectSetPtr asSceneObjects | ( | const objpose::ObjectPoseSeq & | objectPoses | ) |
objpose::ObjectPoseSeq filterObjects | ( | objpose::ObjectPoseSeq | objects, |
const std::vector< std::string > & | datasetBlocklist | ||
) |
const objpose::data::ObjectPose * findObjectPoseByID | ( | const data::ObjectPoseSeq & | objectPoses, |
const armarx::data::ObjectID & | id | ||
) |
Definition at line 424 of file ObjectPose.cpp.
const objpose::ObjectPose * findObjectPoseByID | ( | const ObjectPoseSeq & | objectPoses, |
const ObjectID & | id | ||
) |
Definition at line 400 of file ObjectPose.cpp.
objpose::data::ObjectPose * findObjectPoseByID | ( | data::ObjectPoseSeq & | objectPoses, |
const armarx::data::ObjectID & | id | ||
) |
Definition at line 412 of file ObjectPose.cpp.
objpose::ObjectPose * findObjectPoseByID | ( | ObjectPoseSeq & | objectPoses, |
const ObjectID & | id | ||
) |
Find an object pose by the object ID.
Return nullptr if not found.
objectPoses | The object poses. |
id | The object ID. |
Definition at line 388 of file ObjectPose.cpp.
void from_json | ( | const simox::json::json & | j, |
ObjectPose & | op | ||
) |
Definition at line 55 of file json_conversions.cpp.
void fromAron | ( | const arondto::ObjectAttachmentInfo & | dto, |
ObjectAttachmentInfo & | bo | ||
) |
Definition at line 15 of file objpose.cpp.
void fromAron | ( | const arondto::ObjectPose & | dto, |
ObjectPose & | bo | ||
) |
void fromAron | ( | const arondto::ObjectType & | dto, |
ObjectType & | bo | ||
) |
Definition at line 45 of file objpose.cpp.
void fromAron | ( | const arondto::PoseManifoldGaussian & | dto, |
PoseManifoldGaussian & | bo | ||
) |
simox::OrientedBoxf fromIce | ( | const Box & | box | ) |
void armarx::objpose::fromIce | ( | const Box & | box, |
simox::OrientedBox< float > & | oobb | ||
) |
void fromIce | ( | const BoxPtr & | box, |
std::optional< simox::OrientedBox< float >> & | oobb | ||
) |
void fromIce | ( | const data::ObjectAttachmentInfo & | ice, |
ObjectAttachmentInfo & | attachment | ||
) |
std::optional< objpose::ObjectAttachmentInfo > fromIce | ( | const data::ObjectAttachmentInfoPtr & | ice | ) |
void fromIce | ( | const data::ObjectAttachmentInfoPtr & | ice, |
std::optional< ObjectAttachmentInfo > & | attachment | ||
) |
objpose::ObjectPose fromIce | ( | const data::ObjectPose & | ice | ) |
Definition at line 340 of file ObjectPose.cpp.
void fromIce | ( | const data::ObjectPose & | ice, |
ObjectPose & | pose | ||
) |
objpose::ObjectPoseSeq fromIce | ( | const data::ObjectPoseSeq & | ice | ) |
void fromIce | ( | const data::ObjectPoseSeq & | ice, |
ObjectPoseSeq & | poses | ||
) |
Definition at line 345 of file ObjectPose.cpp.
void fromIce | ( | const data::PoseManifoldGaussian & | ice, |
PoseManifoldGaussian & | cov | ||
) |
std::optional< objpose::PoseManifoldGaussian > fromIce | ( | const data::PoseManifoldGaussianPtr & | ice | ) |
void fromIce | ( | const data::PoseManifoldGaussianPtr & | ice, |
std::optional< PoseManifoldGaussian > & | cov | ||
) |
objpose::ProvidedObjectPose fromIce | ( | const data::ProvidedObjectPose & | ice | ) |
Definition at line 77 of file ProvidedObjectPose.cpp.
void fromIce | ( | const data::ProvidedObjectPose & | ice, |
ProvidedObjectPose & | pose | ||
) |
objpose::ProvidedObjectPoseSeq fromIce | ( | const data::ProvidedObjectPoseSeq & | ice | ) |
void fromIce | ( | const data::ProvidedObjectPoseSeq & | ice, |
ProvidedObjectPoseSeq & | poses | ||
) |
Definition at line 82 of file ProvidedObjectPose.cpp.
objpose::ObjectPosePredictionResult predictObjectPoseLinear | ( | const std::map< DateTime, ObjectPose > & | poses, |
const DateTime & | time, | ||
const ObjectPose & | latestPose | ||
) |
Predict the pose of an object given a history of poses based on a linear regression.
If poses
is empty, latestPose
is returned.
poses | the history of poses to base the prediction on |
time | the timestamp to make the prediction for |
latestPose | used for metadata so the result is valid even if poses is empty |
settings | the settings to use for the prediction |
Definition at line 37 of file predictions.cpp.
void to_json | ( | simox::json::json & | j, |
const ObjectPose & | op | ||
) |
void toAron | ( | arondto::ObjectAttachmentInfo & | dto, |
const ObjectAttachmentInfo & | bo | ||
) |
Definition at line 22 of file objpose.cpp.
void toAron | ( | arondto::ObjectPose & | dto, |
const ObjectPose & | bo | ||
) |
void toAron | ( | arondto::ObjectType & | dto, |
const ObjectType & | bo | ||
) |
Definition at line 61 of file objpose.cpp.
void toAron | ( | arondto::PoseManifoldGaussian & | dto, |
const PoseManifoldGaussian & | bo | ||
) |
void armarx::objpose::toIce | ( | Box & | box, |
const simox::OrientedBox< float > & | oobb | ||
) |
void toIce | ( | BoxPtr & | box, |
const std::optional< simox::OrientedBox< float >> & | oobb | ||
) |
objpose::data::ObjectPose toIce | ( | const ObjectPose & | pose | ) |
objpose::data::ObjectPoseSeq toIce | ( | const ObjectPoseSeq & | poses | ) |
objpose::data::ProvidedObjectPose toIce | ( | const ProvidedObjectPose & | pose | ) |
objpose::data::ProvidedObjectPoseSeq toIce | ( | const ProvidedObjectPoseSeq & | poses | ) |
objpose::AABB toIce | ( | const simox::AxisAlignedBoundingBox & | aabb | ) |
Box armarx::objpose::toIce | ( | const simox::OrientedBox< float > & | oobb | ) |
objpose::data::ObjectAttachmentInfoPtr toIce | ( | const std::optional< ObjectAttachmentInfo > & | ice | ) |
objpose::data::PoseManifoldGaussianPtr toIce | ( | const std::optional< PoseManifoldGaussian > & | ice | ) |
void toIce | ( | data::ObjectAttachmentInfo & | ice, |
const ObjectAttachmentInfo & | attachment | ||
) |
Definition at line 304 of file ObjectPose.cpp.
void toIce | ( | data::ObjectAttachmentInfoPtr & | ice, |
const std::optional< ObjectAttachmentInfo > & | attachment | ||
) |
void toIce | ( | data::ObjectPose & | ice, |
const ObjectPose & | pose | ||
) |
void toIce | ( | data::ObjectPoseSeq & | ice, |
const ObjectPoseSeq & | poses | ||
) |
Definition at line 371 of file ObjectPose.cpp.
void toIce | ( | data::PoseManifoldGaussian & | ice, |
const PoseManifoldGaussian & | cov | ||
) |
void toIce | ( | data::PoseManifoldGaussianPtr & | ice, |
const std::optional< PoseManifoldGaussian > & | cov | ||
) |
void toIce | ( | data::ProvidedObjectPose & | ice, |
const ProvidedObjectPose & | pose | ||
) |
void toIce | ( | data::ProvidedObjectPoseSeq & | ice, |
const ProvidedObjectPoseSeq & | poses | ||
) |
Definition at line 111 of file ProvidedObjectPose.cpp.
const simox::meta::EnumNames< objpose::ObjectType > ObjectTypeNames |
Definition at line 87 of file ice_conversions.cpp.