PointAt.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
RobotAPI/libraries/skills/provider/SimpleSpecializedSkill.h
>
4
5
#include <armarx/control/pointing/aron/PointAtParams.aron.generated.h>
6
#include <
armarx/control/pointing/core/Pointing.h
>
7
8
namespace
armarx::control::pointing::skills
9
{
10
/**
11
* @brief Implementation of the PointAt-skill
12
*
13
* @ingroup Library-pointing
14
*/
15
class
PointAt
:
public
armarx::skills::SimpleSpecializedSkill
<arondto::PointAtParams>
16
{
17
public
:
18
using
Base
=
armarx::skills::SimpleSpecializedSkill<arondto::PointAtParams>
;
19
20
static
armarx::skills::SkillDescription
GetSkillDescription
();
21
22
using
Remote
=
core::Pointing::Remote
;
23
PointAt
(
const
Remote
&);
24
25
using
Base::main
;
26
MainResult
main
(
const
SpecializedMainInput& in)
override
;
27
28
void
onStopRequested
()
override
;
29
void
onTimeoutReached
()
override
;
30
31
private
:
32
Remote
remote_;
33
std::optional<core::Pointing> impl_;
34
};
35
36
}
// namespace armarx::control::pointing::skills
armarx::control::pointing::skills
Definition:
aron_conversions.h:7
armarx::control::pointing::skills::PointAt
Implementation of the PointAt-skill.
Definition:
PointAt.h:15
armarx::skills::SkillDescription
Definition:
SkillDescription.h:18
SimpleSpecializedSkill.h
armarx::control::pointing::skills::PointAt::onTimeoutReached
void onTimeoutReached() override
Override these methods if you want to do something special when notification comes.
Definition:
PointAt.cpp:58
armarx::skills::SimpleSpecializedSkill
Definition:
SimpleSpecializedSkill.h:10
armarx::skills::Skill::MainResult
A result struct for th main method of a skill.
Definition:
Skill.h:48
armarx::skills::SimpleSpecializedSkill< arondto::PointAtParams >::main
Skill::MainResult main() final
Definition:
SimpleSpecializedSkill.h:71
armarx::control::pointing::skills::PointAt::onStopRequested
void onStopRequested() override
Definition:
PointAt.cpp:52
armarx::control::pointing::skills::PointAt::GetSkillDescription
static armarx::skills::SkillDescription GetSkillDescription()
Definition:
PointAt.cpp:11
Pointing.h
armarx::control::pointing::skills::PointAt::PointAt
PointAt(const Remote &)
Definition:
PointAt.cpp:27
armarx::control::pointing::core::Pointing::Remote
Definition:
Pointing.h:42
armarx
control
pointing
skills
PointAt.h
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17