5 #include <armarx/control/skills/aron/MoveJointsToNamedConfigurationParams.aron.generated.h>
6 #include <armarx/control/skills/aron/ShapeHandParams.aron.generated.h>
24 std::stringstream desc;
25 desc <<
"Move all joints to a natural idle position that also allows "
26 "safe movement and safe bus crashes."
28 <<
"The `enable*` parameters can be used to enable/disable movement for different "
29 "body parts of the robot.";
33 .description = desc.str(),
34 .rootProfileDefaults = defaultParams.toAron(),
36 .parametersType = ParamType::ToAronType(),
44 armarx::control::skills::arondto::MoveJointsToNamedConfigurationParams>(
57 subParams.configuration =
"Home";
59 subParams.enableHead =
true;
60 subParams.enableLeftHand =
false;
61 subParams.enableRightHand =
false;
65 auto openHandParams = openHand.getRootProfileParameters();
66 openHandParams.shapeName =
"Platform";
68 auto openHandParamsLeft = openHandParams;
71 auto openHandParamsRight = openHandParams;
72 openHandParamsLeft.hand = armarx::control::skills::arondto::Hand::Right;
74 this->
callSubskill(openHand, openHandParamsLeft.toAron());
75 this->
callSubskill(openHand, openHandParamsRight.toAron());
76 this->
callSubskill(moveToConfiguration, subParams.toAron());