NavigateToAlternatives.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 Tobias Gröger ( tobias dot groeger at kit dot student dot edu )
17
* @date 2026
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/core/time/Duration.h
>
25
26
#include <
RobotAPI/libraries/skills/core/Skill.h
>
27
#include <
RobotAPI/libraries/skills/core/SkillDescription.h
>
28
#include <
RobotAPI/libraries/skills/provider/SimpleSpecializedSkill.h
>
29
30
#include <
armarx/navigation/skills/NavigatingSkillHelper.h
>
31
#include <armarx/navigation/skills/aron/NavigateToAlternatives.aron.generated.h>
32
#include <
armarx/navigation/skills/constants.h
>
33
34
namespace
armarx::navigation::skills
35
{
36
class
NavigateToAlternatives
:
37
virtual
public
armarx::skills::SimpleSpecializedSkill
<arondto::NavigateToAlternativesParams>
38
{
39
public
:
40
using
Params
= arondto::NavigateToAlternativesParams;
41
using
Base
=
::armarx::skills::SimpleSpecializedSkill<Params>
;
42
43
NavigateToAlternatives
(
const
NavigatingSkillHelper::Properties
& properties,
44
const
NavigatingSkillHelper::Services
& srv);
45
46
47
private
:
48
using
Base::init
;
49
::armarx::skills::Skill::InitResult
init(
const
Base::SpecializedInitInput& in)
override
;
50
51
using
Base::main
;
52
::armarx::skills::Skill::MainResult
main(
const
Base::SpecializedMainInput& in)
override
;
53
54
void
onStopRequested()
override
;
55
56
57
public
:
58
static
armarx::skills::SkillDescription
DefaultSkillDescription
();
59
60
protected
:
61
private
:
62
NavigatingSkillHelper
helper;
63
};
64
65
}
// namespace armarx::navigation::skills
Duration.h
NavigatingSkillHelper.h
SimpleSpecializedSkill.h
SkillDescription.h
Skill.h
armarx::navigation::skills::NavigateToAlternatives::Params
arondto::NavigateToAlternativesParams Params
Definition
NavigateToAlternatives.h:40
armarx::navigation::skills::NavigateToAlternatives::Base
::armarx::skills::SimpleSpecializedSkill< Params > Base
Definition
NavigateToAlternatives.h:41
armarx::navigation::skills::NavigateToAlternatives::DefaultSkillDescription
static armarx::skills::SkillDescription DefaultSkillDescription()
Definition
NavigateToAlternatives.cpp:160
armarx::navigation::skills::NavigateToAlternatives::NavigateToAlternatives
NavigateToAlternatives(const NavigatingSkillHelper::Properties &properties, const NavigatingSkillHelper::Services &srv)
Definition
NavigateToAlternatives.cpp:51
armarx::navigation::skills::NavigatingSkillHelper
Definition
NavigatingSkillHelper.h:42
armarx::skills::SimpleSpecializedSkill
Definition
SimpleSpecializedSkill.h:19
armarx::skills::SimpleSpecializedSkill< Params >::main
virtual Skill::MainResult main(const SpecializedMainInput &)
Definition
SimpleSpecializedSkill.h:54
armarx::skills::SimpleSpecializedSkill< Params >::init
virtual Skill::InitResult init(const SpecializedInitInput &)
Definition
SimpleSpecializedSkill.h:48
armarx::navigation::skills
Definition
constants.cpp:26
constants.h
armarx::navigation::skills::NavigatingSkillHelper::Properties
Definition
NavigatingSkillHelper.h:52
armarx::navigation::skills::NavigatingSkillHelper::Services
Definition
NavigatingSkillHelper.h:45
armarx::skills::SkillDescription
Definition
SkillDescription.h:18
armarx::skills::Skill::InitResult
A result struct for skill initialization.
Definition
Skill.h:50
armarx::skills::Skill::MainResult
A result struct for th main method of a skill.
Definition
Skill.h:62
armarx
navigation
skills
NavigateToAlternatives.h
Generated by
1.13.2