5#include <RobotAPI/interface/objectpose/ObjectPoseStorageInterface.h>
15 using ComponentPlugin::ComponentPlugin;
20 template <
class... Ts>
21 std::optional<ObjectInfo>
24 return _finder.findObject(std::forward<Ts>(ts)...);
27 template <
class... Ts>
28 VirtualRobot::ManipulationObjectPtr
34 VirtualRobot::ManipulationObjectPtr
37 return _finder.loadManipulationObject(ts);
47 void preOnInitComponent()
override;
48 void preOnConnectComponent()
override;
50 static constexpr const char* PROPERTY_NAME =
"ObjectMemoryName";
53 objpose::ObjectPoseStorageInterfacePrx _objectPoseStorage;
ManagedIceObject(ManagedIceObject const &other)
Used to find objects in the ArmarX objects repository [1] (formerly [2]).
ObjectPoseClientPluginUser ObjectPoseClient
Allow usage like: ObjectPoseClient::getObjects()
const ObjectFinder & getObjectFinder() const
objpose::ObjectPoseSeq getObjectPoses()
objpose::ObjectPoseClient getClient() const
ObjectPoseClientPluginUser()
objpose::ObjectPoseSeq getObjectPosesByProvider(const std::string &providerName)
objpose::ObjectPoseStorageInterfacePrx createObjectPoseStorage()
plugins::ObjectPoseClientPlugin & getObjectPoseClientPlugin()
Provides access to the armarx::objpose::ObjectPoseStorageInterface (aka the object memory).
VirtualRobot::ManipulationObjectPtr findAndLoadObject(const std::optional< ObjectInfo > &ts) const
const ObjectFinder & getObjectFinder() const
const ObjectFinder & setObjectFinderPath(const std::string &path)
objpose::ObjectPoseClient createClient()
objpose::ObjectPoseStorageInterfacePrx createObjectPoseStorage()
std::optional< ObjectInfo > findObject(Ts &&... ts) const
VirtualRobot::ManipulationObjectPtr findAndLoadObject(Ts &&... ts) const
std::vector< ObjectPose > ObjectPoseSeq
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.