VisualServoTCPControlSkill.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 2021
18
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19
* GNU General Public License
20
*/
21
22
#pragma once
23
24
// STD/STL
25
#include <string>
26
27
// ArmarX
28
#include <
ArmarXCore/core/Component.h
>
29
30
// RobotAPI
31
#include <RobotAPI/libraries/skills/provider/PeriodicSimpleSpecializedSkill.h>
32
#include <
RobotAPI/libraries/skills/provider/SkillContext.h
>
33
#include <
RobotAPI/libraries/skills/provider/SimpleSpecializedSkill.h
>
34
35
// Proxies
36
#include <RobotAPI/interface/objectpose/ObjectPoseProvider.h>
37
#include <RobotAPI/interface/units/TCPControlUnit.h>
38
39
// TCP COntrol Skill
40
#include <
RobotSkillTemplates/libraries/skill_tcp_control/TCPControlSkill.h
>
41
42
// ArmarX
43
#include <
ArmarXCore/core/Component.h
>
44
45
#include <
RobotAPI/libraries/RobotAPIComponentPlugins/ArVizComponentPlugin.h
>
46
#include <
RobotAPI/libraries/armem/client/MemoryNameSystem.h
>
47
48
namespace
armarx::skills
49
{
50
struct
VisualServoTCPControlSkillContext
:
public
TCPControlSkillContext
51
{
52
// Properties
53
void
54
defineProperties
(
const
armarx::PropertyDefinitionsPtr
& defs,
55
const
std::string& prefix)
final
56
{
57
TCPControlSkillContext::defineProperties
(defs, prefix);
58
}
59
};
60
61
class
VisualServoTCPControlSkill
:
public
TCPControlSkill
62
{
63
public
:
64
VisualServoTCPControlSkill
(
armem::client::MemoryNameSystem
&
mns
,
65
armarx::viz::Client
&
arviz
,
66
const
std::string&
layerName
,
67
VisualServoTCPControlSkillContext
&
c
) :
68
TCPControlSkill
(
mns
,
arviz
,
layerName
,
c
),
context
(
c
){};
69
70
protected
:
71
VisualServoTCPControlSkillContext
&
context
;
72
};
73
}
// namespace armarx::skills
armarx::skills::mixin::MNSSkillMixin::mns
armem::client::MemoryNameSystem mns
Definition:
MNSSkillMixin.h:11
ArVizComponentPlugin.h
armarx::skills::TCPControlSkillContext
Definition:
TCPControlSkill.h:46
armarx::skills::VisualServoTCPControlSkillContext::defineProperties
void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) final
Definition:
VisualServoTCPControlSkill.h:54
armarx::skills
This file is part of ArmarX.
Definition:
PeriodicUpdateWidget.cpp:11
armarx::skills::VisualServoTCPControlSkill::context
VisualServoTCPControlSkillContext & context
Definition:
VisualServoTCPControlSkill.h:68
c
constexpr T c
Definition:
UnscentedKalmanFilterTest.cpp:43
armarx::skills::TCPControlSkillContext::defineProperties
void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) override
Definition:
TCPControlSkill.h:51
SimpleSpecializedSkill.h
armarx::skills::mixin::ArvizSkillMixin::arviz
armarx::viz::Client arviz
Definition:
ArvizSkillMixin.h:11
armarx::skills::mixin::ArvizSkillMixin::layerName
std::string layerName
Definition:
ArvizSkillMixin.h:12
armarx::skills::VisualServoTCPControlSkillContext
Definition:
VisualServoTCPControlSkill.h:50
Component.h
SkillContext.h
armarx::skills::VisualServoTCPControlSkill::VisualServoTCPControlSkill
VisualServoTCPControlSkill(armem::client::MemoryNameSystem &mns, armarx::viz::Client &arviz, const std::string &layerName, VisualServoTCPControlSkillContext &c)
Definition:
VisualServoTCPControlSkill.h:64
armarx::skills::TCPControlSkill
Definition:
TCPControlSkill.h:57
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::armem::client::MemoryNameSystem
The memory name system (MNS) client.
Definition:
MemoryNameSystem.h:69
TCPControlSkill.h
MemoryNameSystem.h
armarx::viz::Client
Definition:
Client.h:109
armarx::skills::VisualServoTCPControlSkill
Definition:
VisualServoTCPControlSkill.h:61
RobotSkillTemplates
libraries
skill_visual_servo_tcp_control
VisualServoTCPControlSkill.h
Generated on Sat Oct 12 2024 09:14:13 for armarx_documentation by
1.8.17