KnownGraspProviderSegment.h
Go to the documentation of this file.
1
# pragma once
2
3
#include <
RobotAPI/libraries/armem/server/segment/SpecializedSegment.h
>
4
5
#include <
RobotAPI/libraries/ArmarXObjects/ObjectFinder.h
>
6
#include <RobotAPI/libraries/armem_grasping/aron/KnownGraspCandidate.aron.generated.h>
7
8
namespace
armarx::armem::grasping::segment
9
{
10
class
KnownGraspProviderSegment
:
public
armem::server::segment::SpecializedProviderSegment
11
{
12
using
Base
=
armem::server::segment::SpecializedProviderSegment
;
13
14
public
:
15
KnownGraspProviderSegment
(
armem::server::MemoryToIceAdapter
&
iceMemory
);
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
RobotAPI
libraries
armem_grasping
server
KnownGraspProviderSegment.h
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17