MoveJointsWithVelocity.cpp
Go to the documentation of this file.
1
#include "
MoveJointsWithVelocity.h
"
2
3
#include "
util/JointControlUtil.h
"
4
5
namespace
armarx::skills
6
{
7
8
SkillDescription
MoveJointsWithVelocity::Description
= skills::SkillDescription{
9
"MoveJointsWithVelocity"
,
10
"Move the joints with velocity"
,
11
{},
12
armarx::Duration::MilliSeconds
(2000),
13
joint_control::arondto::MoveJointsWithVelocityAcceptedType::ToAronType()};
14
15
MoveJointsWithVelocity::MoveJointsWithVelocity
(
armem::client::MemoryNameSystem
&
mns
,
16
JointControlSkillContext
&
context
) :
17
JointControlSkill
(
mns
,
context
),
SimpleSpecializedSkill
<
ArgType
>(
Description
)
18
{
19
}
20
21
Skill::MainResult
22
MoveJointsWithVelocity::main
(
const
SpecializedMainInput& in)
23
{
24
return
{
TerminatedSkillStatus::Failed
,
nullptr
};
25
}
26
}
// namespace armarx::skills
JointControlUtil.h
MoveJointsWithVelocity.h
armarx::Duration::MilliSeconds
static Duration MilliSeconds(std::int64_t milliSeconds)
Constructs a duration in milliseconds.
Definition
Duration.cpp:48
armarx::armem::client::MemoryNameSystem
The memory name system (MNS) client.
Definition
MemoryNameSystem.h:74
armarx::skills::JointControlSkill::JointControlSkill
JointControlSkill(armem::client::MemoryNameSystem &mns, JointControlSkillContext &c)
Definition
JointControlSkill.h:65
armarx::skills::JointControlSkill::context
JointControlSkillContext & context
Definition
JointControlSkill.h:85
armarx::skills::JointControlSkill::mns
armem::client::MemoryNameSystem & mns
Definition
JointControlSkill.h:83
armarx::skills::MoveJointsWithVelocity::MoveJointsWithVelocity
MoveJointsWithVelocity(armem::client::MemoryNameSystem &mns, JointControlSkillContext &context)
Definition
MoveJointsWithVelocity.cpp:15
armarx::skills::MoveJointsWithVelocity::Description
static SkillDescription Description
Definition
MoveJointsWithVelocity.h:47
armarx::skills::MoveJointsWithVelocity::ArgType
joint_control::arondto::MoveJointsWithVelocityAcceptedType ArgType
Definition
MoveJointsWithVelocity.h:38
armarx::skills::SimpleSpecializedSkill
Definition
SimpleSpecializedSkill.h:19
armarx::skills::Skill::main
virtual MainResult main()
Override this method with the actual implementation.
Definition
Skill.cpp:542
armarx::skills
This file is part of ArmarX.
Definition
PeriodicUpdateWidget.cpp:12
armarx::skills::TerminatedSkillStatus::Failed
@ Failed
Definition
SkillStatusUpdate.h:38
armarx::skills::JointControlSkillContext
Definition
JointControlSkill.h:49
armarx::skills::SkillDescription
Definition
SkillDescription.h:18
armarx::skills::Skill::MainResult
A result struct for th main method of a skill.
Definition
Skill.h:62
RobotSkillTemplates
libraries
skill_joint_control
MoveJointsWithVelocity.cpp
Generated by
1.13.2