35#include <VirtualRobot/VirtualRobot.h>
39#include <RobotAPI/interface/components/ViewSelectionInterface.h>
40#include <RobotAPI/interface/core/RobotState.h>
41#include <RobotAPI/interface/observers/KinematicUnitObserverInterface.h>
42#include <RobotAPI/interface/observers/PlatformUnitObserverInterface.h>
43#include <RobotAPI/interface/units/KinematicUnitInterface.h>
44#include <RobotAPI/interface/units/PlatformUnitInterface.h>
45#include <RobotAPI/interface/units/TCPControlUnit.h>
49#include <MemoryX/interface/components/PriorKnowledgeInterface.h>
50#include <MemoryX/interface/components/WorkingMemoryInterface.h>
51#include <MemoryX/interface/observers/ObjectMemoryObserverInterface.h>
70 "Name of the kinematic unit that should be used");
72 "KinematicUnitObserverName",
73 "Name of the kinematic unit observer that should be used");
75 "RobotStateComponentName",
76 "RobotStateComponent",
77 "Name of the robot state component that should be used");
81 "Name of the tcp control unit component that should be used");
85 "Name of the WorkingMemory component that should be used");
87 "ObjectMemoryObserverName",
88 "ObjectMemoryObserver",
89 "Name of the ObjectMemoryObserver component that should be used");
93 "Name of the PriorKnowledge component that should be used");
95 "PlatformUnitDynamicSimulation",
96 "Name of the PlatformUnit to use");
98 "PlatformUnitObserver",
99 "Name of the PlatformUnitObserver to use");
101 "ForceTorqueObserver",
102 "Name of the ForceTorqueObserver to use");
104 "TCPControlUnitObserverName",
105 "TCPControlUnitObserver",
106 "Name of the tcp control unit observer that should be used");
110 "Name of the ViewSelection component that should be used");
126 return "CoupledInteractionGroupStatechartContext";
129 void onInitStatechartContext()
override;
130 void onConnectStatechartContext()
override;
141 return robotStateComponent;
144 KinematicUnitInterfacePrx
147 return kinematicUnitPrx;
156 TCPControlUnitInterfacePrx
159 return tcpControlPrx;
162 TCPControlUnitObserverInterfacePrx
165 return tcpControlUnitObserverPrx;
168 memoryx::WorkingMemoryInterfacePrx
171 return workingMemoryProxy;
174 memoryx::ObjectMemoryObserverInterfacePrx
177 return objectMemoryObserverProxy;
180 memoryx::PriorKnowledgeInterfacePrx
183 return priorKnowledgeProxy;
186 PlatformUnitInterfacePrx
189 return platformUnitPrx;
192 PlatformUnitObserverInterfacePrx
195 return platformUnitObserverPrx;
201 return debugDrawerTopicProxy;
209 return platformUnitObserverName;
212 Eigen::Matrix4f getRobotPose();
214 ViewSelectionInterfacePrx
217 return viewSelectionProxy;
220 ForceTorqueUnitObserverInterfacePrx
223 return ftUnitObserverPrx;
241 KinematicUnitInterfacePrx kinematicUnitPrx;
242 KinematicUnitObserverInterfacePrx kinematicUnitObserverPrx;
243 TCPControlUnitInterfacePrx tcpControlPrx;
244 TCPControlUnitObserverInterfacePrx tcpControlUnitObserverPrx;
247 memoryx::WorkingMemoryInterfacePrx workingMemoryProxy;
248 memoryx::ObjectMemoryObserverInterfacePrx objectMemoryObserverProxy;
249 memoryx::PriorKnowledgeInterfacePrx priorKnowledgeProxy;
253 ViewSelectionInterfacePrx viewSelectionProxy;
255 PlatformUnitInterfacePrx platformUnitPrx;
256 PlatformUnitObserverInterfacePrx platformUnitObserverPrx;
257 std::string platformUnitName;
258 std::string platformUnitObserverName;
260 ForceTorqueUnitObserverInterfacePrx ftUnitObserverPrx;
#define ARMARXCOMPONENT_IMPORT_EXPORT
Property< PropertyType > getProperty(const std::string &name)
custom implementation of the StatechartContext for a statechart
PlatformUnitInterfacePrx getPlatformUnitProxy()
KinematicUnitInterfacePrx getKinematicUnit()
RobotStateComponentInterfacePrx getRobotStateComponent()
memoryx::ObjectMemoryObserverInterfacePrx getObjectMemoryObserverProxy()
armarx::DebugDrawerInterfacePrx getDebugDrawerTopicProxy()
ViewSelectionInterfacePrx getViewSelection()
std::string getPlatformUnitObserverName()
PlatformUnitObserverInterfacePrx getPlatformUnitObserverProxy()
ForceTorqueUnitObserverInterfacePrx getForceTorqueUnitObserver()
std::string getForceTorqueObserverName()
TCPControlUnitInterfacePrx getTCPControlUnit()
memoryx::WorkingMemoryInterfacePrx getWorkingMemoryProxy()
TCPControlUnitObserverInterfacePrx getTCPControlUnitObserver()
const VirtualRobot::RobotPtr getRobot()
memoryx::PriorKnowledgeInterfacePrx getPriorKnowledgeProxy()
std::string getKinematicUnitObserverName()
std::string getDefaultName() const override
Retrieve default name of component.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
PropertyDefinition< PropertyType > & defineRequiredProperty(const std::string &name, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
StatechartContextPropertyDefinitions(std::string prefix)
std::shared_ptr< class Robot > RobotPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx
IceInternal::Handle< AgentInstance > AgentInstancePtr
Typedef of AgentEntityPtr as IceInternal::Handle<AgentEntity> for convenience.
CoupledInteractionGroupStatechartContextProperties(std::string prefix)