3 #include <RobotAPI/libraries/skills/provider/SkillProxy.h>
5 #include <RobotSkillTemplates/libraries/skill_bring_object/aron/BringObjectToLandmarkAcceptedType.aron.generated.h>
11 arondto::BringObjectToLandmarkAcceptedType
12 GetDefaultParameterization()
14 arondto::BringObjectToLandmarkAcceptedType
ret;
15 ret.robotName =
"Armar3";
16 ret.graph =
"KitchenKK";
17 ret.objectEntityId =
"Kitchen/green-cup/0";
18 ret.landmarkFrom =
"sideboard";
19 ret.landmarkTo =
"sink";
25 SkillDescription{
"BringObjectToLocation",
26 "Bring an object to some location",
29 arondto::BringObjectToLandmarkAcceptedType::ToAronType(),
30 GetDefaultParameterization().toAron()};
41 std::string objName = in.parameters.objectEntityId;
42 std::string graphName = in.parameters.graph;
43 std::string objLandmarkName = in.parameters.landmarkFrom;
44 std::string targetLandmarkName = in.parameters.landmarkTo;
45 std::string robotName = in.parameters.robotName;
46 float platformOrientationalAccuracy = 0.1;
47 float platformPositionalAccuracy = 20;
48 float tcpOrientationalAccuracy = 0.3;
49 float tcpPositionalAccuracy = 40;
53 platform_control::arondto::MovePlatformToLandmarkAcceptedType params;
54 params.landmark = objLandmarkName;
55 params.robotName = robotName;
56 params.graph = graphName;
57 params.orientationalAccuracy = platformOrientationalAccuracy;
58 params.positionalAccuracy = platformPositionalAccuracy;
73 grasp_object::arondto::GraspObjectAcceptedType params;
74 params.objectEntityId = objName;
75 params.robotName = robotName;
76 params.tcpOrientationalAccuracy = tcpOrientationalAccuracy;
77 params.tcpPositionalAccuracy = tcpPositionalAccuracy;
78 params.platformOrientationalAccuracy = platformOrientationalAccuracy;
79 params.platformPositionalAccuracy = platformPositionalAccuracy;
94 platform_control::arondto::MovePlatformToLandmarkAcceptedType params;
95 params.landmark = targetLandmarkName;
96 params.robotName = robotName;
97 params.graph = graphName;
98 params.orientationalAccuracy = platformOrientationalAccuracy;
99 params.positionalAccuracy = platformPositionalAccuracy;
114 grasp_object::arondto::PutdownObjectAcceptedType params;
115 params.objectEntityId = objName;
116 params.robotName = robotName;
117 params.tcpOrientationalAccuracy = tcpOrientationalAccuracy;
118 params.tcpPositionalAccuracy = tcpPositionalAccuracy;
119 params.platformOrientationalAccuracy = platformOrientationalAccuracy;
120 params.platformPositionalAccuracy = platformPositionalAccuracy;