LaserScansMemory.h
Go to the documentation of this file.
1
/**
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @author Fabian Reister ( fabian dot reister at kit dot edu )
17
* @date 2022
18
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19
* GNU General Public License
20
*/
21
22
#pragma once
23
24
#include "
ArmarXCore/libraries/ArmarXCoreComponentPlugins/DebugObserverComponentPlugin.h
"
25
#include <
ArmarXCore/core/Component.h
>
26
27
#include <
ArmarXGui/libraries/ArmarXGuiComponentPlugins/LightweightRemoteGuiComponentPlugin.h
>
28
29
#include "
RobotAPI/libraries/armem/client/plugins/ReaderWriterPlugin.h
"
30
#include "
RobotAPI/libraries/armem_laser_scans/server/Visu.h
"
31
#include "
RobotAPI/libraries/armem_robot_state/client/common/VirtualRobotReader.h
"
32
#include <
RobotAPI/libraries/RobotAPIComponentPlugins/ArVizComponentPlugin.h
>
33
#include <
RobotAPI/libraries/armem/server/plugins/ReadWritePluginUser.h
>
34
35
namespace
armarx::armem::server::laser_scans
36
{
37
/**
38
* @defgroup Component-GeneralPurposeMemory GeneralPurposeMemory
39
* @ingroup RobotAPI-Components
40
* A description of the component GeneralPurposeMemory.
41
*SpecializedCoreSegment
42
* @class GeneralPurposeMemory
43
* @ingroup Component-GeneralPurposeMemory
44
* @brief Brief description of class GeneralPurposeMemory.
45
*
46
* Detailed description of class GeneralPurposeMemory.
47
*/
48
class
LaserScansMemory
:
49
virtual
public
armarx::Component
,
50
virtual
public
armem::server::ReadWritePluginUser
,
51
virtual
public
armarx::ArVizComponentPluginUser
52
{
53
public
:
54
LaserScansMemory
();
55
56
/// @see armarx::ManagedIceObject::getDefaultName()
57
std::string
getDefaultName
()
const override
;
58
59
armem::data::AddSegmentsResult
addSegments
(
const
armem::data::AddSegmentsInput&
input
,
60
const
Ice::Current&)
override
;
61
62
protected
:
63
/// @see PropertyUser::createPropertyDefinitions()
64
armarx::PropertyDefinitionsPtr
createPropertyDefinitions
()
override
;
65
66
/// @see armarx::ManagedIceObject::onInitComponent()
67
void
onInitComponent
()
override
;
68
69
/// @see armarx::ManagedIceObject::onConnectComponent()
70
void
onConnectComponent
()
override
;
71
72
/// @see armarx::ManagedIceObject::onDisconnectComponent()
73
void
onDisconnectComponent
()
override
;
74
75
/// @see armarx::ManagedIceObject::onExitComponent()
76
void
onExitComponent
()
override
;
77
78
private
:
79
bool
addCoreSegmentOnUsage =
true
;
80
81
armem::client::plugins::ReaderWriterPlugin<armarx::armem::robot_state::VirtualRobotReader>
*
82
virtualRobotReaderPlugin =
nullptr
;
83
84
armarx::plugins::DebugObserverComponentPlugin
* debugObserver =
nullptr
;
85
86
87
Visu
commonVisu;
88
};
89
}
// namespace armarx::armem::server::laser_scans
ArVizComponentPlugin.h
armarx::armem::server::laser_scans::LaserScansMemory::onExitComponent
void onExitComponent() override
Definition:
LaserScansMemory.cpp:91
armarx::armem::server::laser_scans::LaserScansMemory::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition:
LaserScansMemory.cpp:44
armarx::armem::server::laser_scans::LaserScansMemory::onInitComponent
void onInitComponent() override
Definition:
LaserScansMemory.cpp:68
armarx::armem::client::plugins::ReaderWriterPlugin< armarx::armem::robot_state::VirtualRobotReader >
ReadWritePluginUser.h
ReaderWriterPlugin.h
armarx::armem::server::laser_scans::LaserScansMemory::addSegments
armem::data::AddSegmentsResult addSegments(const armem::data::AddSegmentsInput &input, const Ice::Current &) override
Definition:
LaserScansMemory.cpp:97
armarx::armem::server::laser_scans
This file is part of ArmarX.
Definition:
LaserScansMemory.cpp:35
LightweightRemoteGuiComponentPlugin.h
armarx::armem::server::laser_scans::LaserScansMemory
Definition:
LaserScansMemory.h:48
armarx::ArVizComponentPluginUser
Provides a ready-to-use ArViz client arviz as member variable.
Definition:
ArVizComponentPlugin.h:36
armarx::armem::server::laser_scans::LaserScansMemory::LaserScansMemory
LaserScansMemory()
Definition:
LaserScansMemory.cpp:37
armarx::armem::server::laser_scans::Visu
Models decay of object localizations by decreasing the confidence the longer the object was not local...
Definition:
Visu.h:53
armarx::aron::input
ReaderT::InputType & input
Definition:
rw.h:19
armarx::armem::server::plugins::ReadWritePluginUser
Base class of memory server components.
Definition:
ReadWritePluginUser.h:20
Visu.h
DebugObserverComponentPlugin.h
armarx::armem::server::laser_scans::LaserScansMemory::onConnectComponent
void onConnectComponent() override
Definition:
LaserScansMemory.cpp:78
armarx::armem::server::laser_scans::LaserScansMemory::getDefaultName
std::string getDefaultName() const override
Definition:
LaserScansMemory.cpp:61
VirtualRobotReader.h
armarx::armem::server::laser_scans::LaserScansMemory::onDisconnectComponent
void onDisconnectComponent() override
Definition:
LaserScansMemory.cpp:85
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition:
Component.h:95
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::plugins::DebugObserverComponentPlugin
Brief description of class DebugObserverComponentPlugin.
Definition:
DebugObserverComponentPlugin.h:48
RobotAPI
components
armem
server
LaserScansMemory
LaserScansMemory.h
Generated on Sat Oct 12 2024 09:14:05 for armarx_documentation by
1.8.17