KnownGraspProviderSegment.h
Go to the documentation of this file.
1 # pragma once
2 
4 
6 #include <RobotAPI/libraries/armem_grasping/aron/KnownGraspCandidate.aron.generated.h>
7 
9 {
11  {
13 
14  public:
16 
17  void init() override;
18 
19  private:
20  void loadMemory();
21  std::optional<arondto::KnownGraspInfo> knownGraspInfoFromObjectInfo(const ObjectInfo&);
22 
23  public:
24  static const constexpr char* CORE_SEGMENT_NAME = "KnownGraspCandidate";
25  static const constexpr char* PROVIDER_SEGMENT_NAME = "PriorKnowledgeData";
26  };
27 }
SpecializedSegment.h
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition: MemoryToIceAdapter.h:19
armarx::armem::server::segment::SpecializedProviderSegment
A base class for provider segments.
Definition: SpecializedProviderSegment.h:20
armarx::armem::grasping::segment::KnownGraspProviderSegment::KnownGraspProviderSegment
KnownGraspProviderSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition: KnownGraspProviderSegment.cpp:10
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >
armarx::armem::grasping::segment::KnownGraspProviderSegment::init
void init() override
Definition: KnownGraspProviderSegment.cpp:16
armarx::armem::grasping::segment
Definition: KnownGraspProviderSegment.cpp:8
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition: SpecializedSegment.h:60
armarx::armem::grasping::segment::KnownGraspProviderSegment::CORE_SEGMENT_NAME
static const constexpr char * CORE_SEGMENT_NAME
Definition: KnownGraspProviderSegment.h:24
armarx::armem::grasping::segment::KnownGraspProviderSegment
Definition: KnownGraspProviderSegment.h:10
armarx::ObjectInfo
Accessor for the object files.
Definition: ObjectInfo.h:37
ObjectFinder.h
armarx::armem::grasping::segment::KnownGraspProviderSegment::PROVIDER_SEGMENT_NAME
static const constexpr char * PROVIDER_SEGMENT_NAME
Definition: KnownGraspProviderSegment.h:25