MoveXMeters.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <armarx/navigation/skills/aron/MoveXMeters.aron.generated.h>
6 
8 {
9 
10  class MoveXMeters : public NavigateRelativeSkill<arondto::MoveXMetersParams>
11  {
12 
13  public:
15 
16  MoveXMeters(const Services& srv);
17 
18  private:
19  Eigen::Isometry3f relativeTarget(const Base::SpecializedMainInput& in) override;
20 
21 
22  public:
25  {
26  ParamType defaultParams;
27  defaultParams.distanceMillimeters = 0;
28  defaultParams.direction = Eigen::Quaternion<float, 0>::Identity();
29 
32  .description = "Relative movement in specified direction",
33  .rootProfileDefaults = defaultParams.toAron(),
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