MoveXMeters.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/MoveXMeters.aron.generated.h>
5
#include <
armarx/navigation/skills/constants.h
>
6
7
namespace
armarx::navigation::skills
8
{
9
10
class
MoveXMeters
:
public
NavigateRelativeSkill
<arondto::MoveXMetersParams>
11
{
12
13
public
:
14
using
Base
=
NavigateRelativeSkill<arondto::MoveXMetersParams>
;
15
16
MoveXMeters
(
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.distanceMillimeters = 0;
28
defaultParams.direction =
Eigen::Quaternion<float, 0>::Identity
();
29
30
return
armarx::skills::SkillDescription
{
31
.
skillId
= {.
skillName
=
constants::skill_names::MoveXMeters
},
32
.description =
"Relative movement in specified direction"
,
33
.rootProfileDefaults = defaultParams.toAron(),
34
.timeout =
armarx::core::time::Duration::Minutes
(1),
35
.parametersType = ParamType::ToAronType()};
36
}
37
};
38
39
}
// namespace armarx::navigation::skills
constants.h
armarx::navigation::skills::MoveXMeters::DefaultSkillDescription
static armarx::skills::SkillDescription DefaultSkillDescription()
Definition:
MoveXMeters.h:24
armarx::skills::SkillID::skillName
std::string skillName
Definition:
SkillID.h:60
armarx::skills::SkillDescription
Definition:
SkillDescription.h:18
armarx::navigation::skills::NavigateRelativeSkill
Definition:
forward_declarations.h:30
NavigateRelativeSkill.h
GfxTL::Identity
void Identity(MatrixXX< N, N, T > *a)
Definition:
MatrixXX.h:523
armarx::skills::SkillDescription::skillId
SkillID skillId
Definition:
SkillDescription.h:20
armarx::core::time::Duration::Minutes
static Duration Minutes(std::int64_t minutes)
Constructs a duration in minutes.
Definition:
Duration.cpp:111
armarx::navigation::skills::MoveXMeters
Definition:
MoveXMeters.h:10
armarx::navigation::skills::MoveXMeters::MoveXMeters
MoveXMeters(const Services &srv)
Definition:
MoveXMeters.cpp:6
armarx::navigation::skills::constants::skill_names::MoveXMeters
const std::string MoveXMeters
Definition:
constants.h:37
armarx::navigation::skills
Definition:
constants.cpp:25
armarx
navigation
skills
MoveXMeters.h
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17