4#include <RobotAPI/libraries/skills/provider/SkillProxy.h>
14 grasp_object::arondto::MovePlatformForPutdownAcceptedType
15 GetDefaultParameterization()
17 grasp_object::arondto::MovePlatformForPutdownAcceptedType ret;
18 ret.orientationalAccuracy = 0.01;
19 ret.positionalAccuracy = 25;
25 "MovePlatformForPutdown",
26 "Move Platform in order to ease the putdown of an object",
29 grasp_object::arondto::MovePlatformForPutdownAcceptedType::ToAronType(),
30 GetDefaultParameterization().toAron()};
47 robotReader.connect();
48 objectReader.connect();
54 robotReader.getSynchronizedRobot(in.parameters.robotName,
56 VirtualRobot::RobotIO::RobotDescription::eStructure);
66 auto objInstance = objectReader.queryLatestObjectInstance(in.parameters.objectEntityId);
77 {*robot, in.parameters.tcpName});
79 platform_control::arondto::MovePlatformToPoseAcceptedType params;
81 params.robotName = in.parameters.robotName;
82 params.orientationalAccuracy = in.parameters.orientationalAccuracy;
83 params.positionalAccuracy = in.parameters.positionalAccuracy;
86 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.
GetPlatformOffsetForObjectPutdownOutput GetGlobalPlatformPoseForObjectPutdown(const GetPlatformOffsetForObjectPutdownInput &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