GraspProviderExample.h
Go to the documentation of this file.
2 #include <ArmarXCore/interface/observers/ObserverInterface.h>
7 
9 
10 #pragma once
11 
12 
13 namespace armarx
14 {
15 
16 
19  {
20  public:
22  };
23 
24 
26  virtual public armarx::Component,
27  virtual public armarx::armem::ClientPluginUser
28  {
29  public:
30 
31  /// @see armarx::ManagedIceObject::getDefaultName()
32  std::string getDefaultName() const override;
34 
35 
36  protected:
37 
39  void onInitComponent() override;
40  void onConnectComponent() override;
41  void onDisconnectComponent() override;
42  void onExitComponent() override;
43 
44  void run();
45 
46  grasping::GraspCandidate makeDummyGraspCandidate();
47  grasping::BimanualGraspCandidate makeDummyBimanualGraspCandidate();
48 
49 
50  private:
51 
52  Eigen::Matrix4f const identityMatrix = Eigen::Matrix4f::Identity();
53  Eigen::Vector3f const zeroVector = Eigen::Vector3f();
54 
56 
58 
59  std::string memoryName = "Grasp";
62  };
63 }
armarx::GraspProviderExamplePropertyDefinitions::GraspProviderExamplePropertyDefinitions
GraspProviderExamplePropertyDefinitions(std::string prefix)
Definition: GraspProviderExample.cpp:17
armarx::GraspProviderExample::getDefaultName
std::string getDefaultName() const override
Definition: GraspProviderExample.cpp:38
Pose.h
armarx::armem::GraspCandidateWriter
Definition: GraspCandidateWriter.h:13
armarx::GraspProviderExample::makeDummyGraspCandidate
grasping::GraspCandidate makeDummyGraspCandidate()
Definition: GraspProviderExample.cpp:150
GraspCandidateReader.h
armarx::PropertyDefinitionContainer::prefix
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
Definition: PropertyDefinitionContainer.h:333
armarx::armem::client::plugins::PluginUser
Adds the Memory Name System client component plugin.
Definition: PluginUser.h:29
GfxTL::Identity
void Identity(MatrixXX< N, N, T > *a)
Definition: MatrixXX.h:523
armarx::GraspProviderExamplePropertyDefinitions
Definition: GraspProviderExample.h:17
armarx::GraspProviderExample::run
void run()
Definition: GraspProviderExample.cpp:74
armarx::GraspProviderExample::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: GraspProviderExample.cpp:63
armarx::GraspProviderExample::makeDummyBimanualGraspCandidate
grasping::BimanualGraspCandidate makeDummyBimanualGraspCandidate()
Definition: GraspProviderExample.cpp:176
GraspCandidateWriter.h
tasks.h
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:95
armarx::GraspProviderExample::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: GraspProviderExample.cpp:69
GfxTL::Matrix4f
MatrixXX< 4, 4, float > Matrix4f
Definition: MatrixXX.h:601
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:70
armarx::GraspProviderExample::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: GraspProviderExample.cpp:54
IceUtil::Handle< class PropertyDefinitionContainer >
IceInternal::ProxyHandle<::IceProxy::armarx::DebugObserverInterface >
armarx::GraspProviderExample::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: GraspProviderExample.cpp:24
armarx::GraspProviderExample
Definition: GraspProviderExample.h:25
PluginUser.h
armarx::armem::GraspCandidateReader
Definition: GraspCandidateReader.h:12
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::GraspProviderExample::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: GraspProviderExample.cpp:48
armarx::GraspProviderExample::GraspProviderExample
GraspProviderExample()
Definition: GraspProviderExample.cpp:43