RotateXDegrees.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
armarx/navigation/skills/NavigateRelativeSkill.h
>
4
#include <armarx/navigation/skills/aron/RotateXDegrees.aron.generated.h>
5
#include <
armarx/navigation/skills/constants.h
>
6
7
namespace
armarx::navigation::skills
8
{
9
10
class
RotateXDegrees
:
public
NavigateRelativeSkill
<arondto::RotateXDegreesParams>
11
{
12
13
public
:
14
using
Base
=
NavigateRelativeSkill<arondto::RotateXDegreesParams>
;
15
16
RotateXDegrees
(
const
Services& srv);
17
18
private
:
19
Eigen::Isometry3f relativeTarget(
const
Base::SpecializedMainInput& in)
override
;
20
21
22
public
:
23
static
armarx::skills::SkillDescription
24
DefaultSkillDescription
()
25
{
26
ParamType defaultParams;
27
defaultParams.rotationDegrees = 0;
28
29
return
armarx::skills::SkillDescription
{
30
.
skillId
= {.
skillName
=
constants::skill_names::RotateXDegrees
},
31
.description =
"Rotate around the Z-axis by a specified degree value"
,
32
.rootProfileDefaults = defaultParams.toAron(),
33
.timeout =
armarx::core::time::Duration::Minutes
(1),
34
.parametersType = ParamType::ToAronType()};
35
}
36
};
37
38
}
// namespace armarx::navigation::skills
constants.h
armarx::skills::SkillID::skillName
std::string skillName
Definition:
SkillID.h:60
armarx::navigation::skills::RotateXDegrees
Definition:
RotateXDegrees.h:10
armarx::skills::SkillDescription
Definition:
SkillDescription.h:18
armarx::navigation::skills::NavigateRelativeSkill
Definition:
forward_declarations.h:30
NavigateRelativeSkill.h
armarx::navigation::skills::constants::skill_names::RotateXDegrees
const std::string RotateXDegrees
Definition:
constants.h:43
armarx::skills::SkillDescription::skillId
SkillID skillId
Definition:
SkillDescription.h:20
armarx::navigation::skills::RotateXDegrees::RotateXDegrees
RotateXDegrees(const Services &srv)
Definition:
RotateXDegrees.cpp:8
armarx::core::time::Duration::Minutes
static Duration Minutes(std::int64_t minutes)
Constructs a duration in minutes.
Definition:
Duration.cpp:111
armarx::navigation::skills::RotateXDegrees::DefaultSkillDescription
static armarx::skills::SkillDescription DefaultSkillDescription()
Definition:
RotateXDegrees.h:24
armarx::navigation::skills
Definition:
constants.cpp:25
armarx
navigation
skills
RotateXDegrees.h
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17