ObjectInstanceSegmentWrapper.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
6 #include <RobotAPI/interface/core/RobotState.h>
7 
8 #include <VirtualRobot/VirtualRobot.h>
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 namespace memoryx
15 {
17  {
19  VirtualRobot::ManipulationObjectPtr manipulationObject;
20  };
21 
22  /**
23  * @brief Allows access to the objects in the working memory in form of Simox SceneObjects.
24  */
26  {
27  public:
28  void initFromProxies(memoryx::PriorKnowledgeInterfacePrx const& priorKnowledge,
29  memoryx::WorkingMemoryInterfacePrx const& workingMemory,
30  armarx::RobotStateComponentInterfacePrx const& robotStateComponent);
31 
32  std::vector<ObjectInstanceWrapper> queryObjects(std::set<std::string> const& ids = {});
33 
35 
36  private:
37  armarx::RobotStateComponentInterfacePrx robotStateComponent;
39  VirtualRobot::RobotPtr localRobot;
40  memoryx::ObjectInstanceMemorySegmentBasePrx objectInstancesSegment;
41 
42  };
43 
44 }
ObjectClassSegmentWrapper.h
memoryx::ObjectClassSegmentWrapper
Definition: ObjectClassSegmentWrapper.h:23
memoryx::ObjectInstanceWrapper::instanceInMemory
memoryx::ObjectInstancePtr instanceInMemory
Definition: ObjectInstanceSegmentWrapper.h:18
memoryx::ObjectInstanceSegmentWrapper::queryObjects
std::vector< ObjectInstanceWrapper > queryObjects(std::set< std::string > const &ids={})
Definition: ObjectInstanceSegmentWrapper.cpp:35
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
IceInternal::Handle< ObjectInstance >
memoryx::ObjectInstanceSegmentWrapper::initFromProxies
void initFromProxies(memoryx::PriorKnowledgeInterfacePrx const &priorKnowledge, memoryx::WorkingMemoryInterfacePrx const &workingMemory, armarx::RobotStateComponentInterfacePrx const &robotStateComponent)
Definition: ObjectInstanceSegmentWrapper.cpp:18
memoryx::ObjectInstanceSegmentWrapper::objectClassSegment
ObjectClassSegmentWrapper objectClassSegment
Definition: ObjectInstanceSegmentWrapper.h:34
ObjectInstance.h
IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface >
memoryx::ObjectInstanceWrapper::manipulationObject
VirtualRobot::ManipulationObjectPtr manipulationObject
Definition: ObjectInstanceSegmentWrapper.h:19
memoryx::ObjectInstanceWrapper
Definition: ObjectInstanceSegmentWrapper.h:16
memoryx::ObjectInstanceSegmentWrapper
Allows access to the objects in the working memory in form of Simox SceneObjects.
Definition: ObjectInstanceSegmentWrapper.h:25
VirtualRobot::RobotPtr
std::shared_ptr< class Robot > RobotPtr
Definition: Bus.h:18