3 #include <RobotAPI/libraries/skills/provider/SkillProxy.h>
5 #include <RobotSkillTemplates/libraries/skill_bring_object/aron/BringObjectToLandmarkAcceptedType.aron.generated.h>
11 arondto::BringObjectToLandmarkAcceptedType GetDefaultParameterization()
13 arondto::BringObjectToLandmarkAcceptedType
ret;
14 ret.robotName =
"Armar3";
15 ret.graph =
"KitchenKK";
16 ret.objectEntityId =
"Kitchen/green-cup/0";
17 ret.landmarkFrom =
"sideboard";
18 ret.landmarkTo =
"sink";
24 "BringObjectToLocation",
"Bring an object to some location",
26 arondto::BringObjectToLandmarkAcceptedType::ToAronType(),
27 GetDefaultParameterization().toAron()
38 std::string objName = in.parameters.objectEntityId;
39 std::string graphName = in.parameters.graph;
40 std::string objLandmarkName = in.parameters.landmarkFrom;
41 std::string targetLandmarkName = in.parameters.landmarkTo;
42 std::string robotName = in.parameters.robotName;
43 float platformOrientationalAccuracy = 0.1;
44 float platformPositionalAccuracy = 20;
45 float tcpOrientationalAccuracy = 0.3;
46 float tcpPositionalAccuracy = 40;
50 platform_control::arondto::MovePlatformToLandmarkAcceptedType params;
51 params.landmark = objLandmarkName;
52 params.robotName = robotName;
53 params.graph = graphName;
54 params.orientationalAccuracy = platformOrientationalAccuracy;
55 params.positionalAccuracy = platformPositionalAccuracy;
67 grasp_object::arondto::GraspObjectAcceptedType params;
68 params.objectEntityId = objName;
69 params.robotName = robotName;
70 params.tcpOrientationalAccuracy = tcpOrientationalAccuracy;
71 params.tcpPositionalAccuracy = tcpPositionalAccuracy;
72 params.platformOrientationalAccuracy = platformOrientationalAccuracy;
73 params.platformPositionalAccuracy = platformPositionalAccuracy;
85 platform_control::arondto::MovePlatformToLandmarkAcceptedType params;
86 params.landmark = targetLandmarkName;
87 params.robotName = robotName;
88 params.graph = graphName;
89 params.orientationalAccuracy = platformOrientationalAccuracy;
90 params.positionalAccuracy = platformPositionalAccuracy;
102 grasp_object::arondto::PutdownObjectAcceptedType params;
103 params.objectEntityId = objName;
104 params.robotName = robotName;
105 params.tcpOrientationalAccuracy = tcpOrientationalAccuracy;
106 params.tcpPositionalAccuracy = tcpPositionalAccuracy;
107 params.platformOrientationalAccuracy = platformOrientationalAccuracy;
108 params.platformPositionalAccuracy = platformPositionalAccuracy;