7 #include <armarx/control/deprecated_njoint_mp_controller/task_space/ControllerInterface.h>
17 defaults.targetPose.header.agent =
"Armar7";
18 defaults.targetPose.header.frame =
"root";
20 defaults.targetPose.orientation =
21 Eigen::Quaternion<float>{0.7640368, -0.63349, 0.06744281, -0.10187};
23 armarx::arondto::PackagePath& packagePath = defaults.fileNames.emplace_back();
24 packagePath.package =
"armar7_motions";
25 packagePath.path =
"tcp_trajectories/dmp/default_left.csv";
36 return ::armarx::skills::SkillDescription{.skillId = skillId,
38 "TODO: Description of skill RetrieveHand.",
39 .rootProfileDefaults = defaults.toAron(),
41 .parametersType = ParamType::ToAronType()};
70 in.parameters.targetPose.orientation,
71 in.parameters.targetPose.header.frame,
72 in.parameters.targetPose.header.agent};
74 std::vector<std::string> fileNames;
75 for (
const auto& aronPackagePath : in.parameters.fileNames)
78 fileNames.push_back(packagePath.
toSystemPath().string());
83 .robotNodeSet = in.parameters.robotNodeSet,
84 .timeDurationInSec = in.parameters.timeDurationInSec,
85 .targetPose = targetPose,
86 .kpLinear = in.parameters.kpLinear,
87 .kpAngular = in.parameters.kpAngular,
88 .kdLinear = in.parameters.kdLinear,
89 .kdAngular = in.parameters.kdAngular,
90 .fileNames = fileNames,
94 impl = std::make_unique<core::RetrieveHand>(rem, props);
96 auto res = impl->execute();
108 ARMARX_INFO <<
"requesting to stop TSVMP controller ";