4#include <RobotAPI/libraries/skills/provider/SkillProxy.h>
14 grasp_object::arondto::MovePlatformForGraspAcceptedType
15 GetDefaultParameterization()
17 grasp_object::arondto::MovePlatformForGraspAcceptedType ret;
18 ret.orientationalAccuracy = 0.01;
19 ret.positionalAccuracy = 25;
25 "MovePlatformForGrasp",
26 "Move Platform in order to ease the grasp of an object",
29 grasp_object::arondto::MovePlatformForGraspAcceptedType::ToAronType(),
30 GetDefaultParameterization().toAron()};
46 robotReader.connect();
47 objectReader.connect();
53 robotReader.getSynchronizedRobot(in.parameters.robotName,
55 VirtualRobot::RobotIO::RobotDescription::eStructure);
65 auto objInstance = objectReader.queryLatestObjectInstance(in.parameters.objectEntityId);
76 {*objInstance, *robot, in.parameters.tcpName});
78 skills::platform_control::arondto::MovePlatformToPoseAcceptedType params;
79 params.robotName = in.parameters.robotName;
80 params.orientationalAccuracy = in.parameters.orientationalAccuracy;
81 params.positionalAccuracy = in.parameters.positionalAccuracy;
85 context.platformControlSkillProvider,
static Duration MilliSeconds(std::int64_t milliSeconds)
Constructs a duration in milliseconds.
The memory name system (MNS) client.
The VirtualRobotReader class.
manager::dti::SkillManagerInterfacePrx manager
virtual MainResult main()
Override this method with the actual implementation.
SkillID getSkillId() const
Get the id of the skill.
TwoArmGraspControlSkill(armem::client::MemoryNameSystem &mns, armarx::viz::Client &arviz, const std::string &layerName, TwoArmGraspControlSkillContext &c)
TwoArmGraspControlSkillContext & context
#define ARMARX_ERROR
The logging level for unexpected behaviour, that must be fixed.
GetPlatformOffsetForObjectGraspOutput GetGlobalPlatformPoseForObjectGrasp(const GetPlatformOffsetForObjectGraspInput &in)
This file is part of ArmarX.
const char * toString(InteractionFeedbackType type)
A result struct for th main method of a skill.
armarx::viz::Client arviz
armem::client::MemoryNameSystem mns