GraspProviderExample.h
Go to the documentation of this file.
2 #include <ArmarXCore/interface/observers/ObserverInterface.h>
4 
9 
10 #pragma once
11 
12 namespace armarx
13 {
14 
15 
17  {
18  public:
20  };
21 
23  virtual public armarx::Component,
24  virtual public armarx::armem::ClientPluginUser
25  {
26  public:
27  /// @see armarx::ManagedIceObject::getDefaultName()
28  std::string getDefaultName() const override;
30 
31 
32  protected:
34  void onInitComponent() override;
35  void onConnectComponent() override;
36  void onDisconnectComponent() override;
37  void onExitComponent() override;
38 
39  void run();
40 
41  grasping::GraspCandidate makeDummyGraspCandidate();
42  grasping::BimanualGraspCandidate makeDummyBimanualGraspCandidate();
43 
44 
45  private:
46  Eigen::Matrix4f const identityMatrix = Eigen::Matrix4f::Identity();
47  Eigen::Vector3f const zeroVector = Eigen::Vector3f();
48 
50 
52 
53  std::string memoryName = "Grasp";
56  };
57 } // namespace armarx
armarx::GraspProviderExamplePropertyDefinitions::GraspProviderExamplePropertyDefinitions
GraspProviderExamplePropertyDefinitions(std::string prefix)
Definition: GraspProviderExample.cpp:17
armarx::GraspProviderExample::getDefaultName
std::string getDefaultName() const override
Definition: GraspProviderExample.cpp:38
GfxTL::Matrix4f
MatrixXX< 4, 4, float > Matrix4f
Definition: MatrixXX.h:650
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:345
armarx::armem::client::plugins::PluginUser
Adds the Memory Name System client component plugin.
Definition: PluginUser.h:27
GfxTL::Identity
void Identity(MatrixXX< N, N, T > *a)
Definition: MatrixXX.h:570
armarx::GraspProviderExamplePropertyDefinitions
Definition: GraspProviderExample.h:16
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:91
armarx::GraspProviderExample::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: GraspProviderExample.cpp:69
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:69
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:22
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:27
armarx::GraspProviderExample::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: GraspProviderExample.cpp:48
armarx::GraspProviderExample::GraspProviderExample
GraspProviderExample()
Definition: GraspProviderExample.cpp:43