32 ::armarx::skills::SkillDescription
36 defaultParams.humanId =
"0";
37 defaultParams.orientationDegreesClockwise = 0.F;
38 defaultParams.orientationFacesRobot =
true;
45 return ::armarx::skills::SkillDescription{
47 .description =
"Creates and commits a human pose. Optionally, the pose can be set to "
49 .rootProfileDefaults = defaultParams.toAron(),
51 .parametersType = ParamType::ToAronType()};
64 if (in.parameters.orientationFacesRobot)
66 simulator.createHumanPoseFacingRobot(in.parameters.humanId,
67 in.parameters.positionCartesian);
71 simulator.createHumanPose(in.parameters.humanId,
72 in.parameters.positionCartesian,
73 in.parameters.orientationDegreesClockwise);
75 return Skill::MakeSucceededResult();
The core library for interaction with the person memory.
::armarx::skills::SimpleSpecializedSkill< ::VisionX::person_simulator::skills::arondto::CreateHumanPoseParams > Base
::armarx::skills::SkillDescription GetSkillDescription()
CreateHumanPose(const core::PersonSimulator::Remote &r, const core::PersonSimulator::Properties &p)
static Duration MilliSeconds(std::int64_t milliSeconds)
Constructs a duration in milliseconds.
::VisionX::person_simulator::skills::arondto::CreateHumanPoseParams ParamType
virtual MainResult main()
Override this method with the actual implementation.
const std::string CreateHumanPose
const armarx::skills::SkillID CreateHumanPose
Fixed properties of this skill implementation.
Remote parameters of this skill implementation.
A result struct for th main method of a skill.