14 grasp_object::arondto::MovePlatformForPutdownAcceptedType
15 GetDefaultParameterization()
17 grasp_object::arondto::MovePlatformForPutdownAcceptedType ret;
18 ret.orientationalAccuracy = 0.01;
19 ret.positionalAccuracy = 25;
25 .skillId = {.skillName =
"MovePlatformForPutdown"},
26 .description =
"Move Platform in order to ease the putdown of an object",
27 .rootProfileDefaults = GetDefaultParameterization().toAron(),
29 .parametersType = grasp_object::arondto::MovePlatformForPutdownAcceptedType::ToAronType(),
56 VirtualRobot::RobotIO::RobotDescription::eStructure);
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;
85 SkillProxy prx(
manager, SkillID{
86 .providerId = ProviderID{.providerName =
context.platformControlSkillProvider},
88 return {prx.executeSkill(in.executorName, params.toAron()).status,
nullptr};
static Duration MilliSeconds(std::int64_t milliSeconds)
Constructs a duration in milliseconds.
The memory name system (MNS) client.
std::optional< objpose::ObjectPose > queryLatestObjectInstance(const ObjectID &instanceId)
void connect(armem::client::MemoryNameSystem &memoryNameSystem)
virtual void connect(armem::client::MemoryNameSystem &memoryNameSystem)
The VirtualRobotReader class.
VirtualRobot::RobotPtr getSynchronizedRobot(const std::string &name, const VirtualRobot::RobotIO::RobotDescription &loadMode=VirtualRobot::RobotIO::RobotDescription::eStructure, bool blocking=true)
manager::dti::SkillManagerInterfacePrx manager
virtual MainResult main()
Override this method with the actual implementation.
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.
A result struct for th main method of a skill.
armarx::viz::Client arviz
armem::client::MemoryNameSystem & mns