hpp-manipulation-corba  4.9.0
Corba server for manipulation planning
problem.idl
Go to the documentation of this file.
1 // Copyright (c) 2014 CNRS
2 // Author: Florent Lamiraux
3 //
4 // This file is part of hpp-manipulation-corba.
5 // hpp-manipulation-corba is free software: you can redistribute it
6 // and/or modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation, either version
8 // 3 of the License, or (at your option) any later version.
9 //
10 // hpp-manipulation-corba is distributed in the hope that it will be
11 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // General Lesser Public License for more details. You should have
14 // received a copy of the GNU Lesser General Public License along with
15 // hpp-manipulation-corba. If not, see
16 // <http://www.gnu.org/licenses/>.
17 
18 #ifndef HPP_MANIPULATION_CORBA_PROBLEM_IDL
19 #define HPP_MANIPULATION_CORBA_PROBLEM_IDL
20 
22 #include <hpp/common.idl>
23 
25 
26 module hpp {
27  module corbaserver {
28  module manipulation {
29  interface Problem
30  {
36  boolean selectProblem (in string name) raises (Error);
37 
39  void resetProblem () raises (Error);
40 
44  Names_t getAvailable (in string type) raises (Error);
45 
50  Names_t getSelected (in string type) raises (Error);
51 
71  void createGrasp (in string graspName, in string gripperName,
72  in string handleName)
73  raises (Error);
74 
95  void createPreGrasp (in string name, in string gripper,
96  in string handle) raises (Error);
97 
101  Names_t getEnvironmentContactNames ()
102  raises (Error);
103 
107  Names_t getRobotContactNames ()
108  raises (Error);
109 
120  Names_t getEnvironmentContact (in string name, out intSeq indices,
121  out floatSeqSeq points)
122  raises (Error);
123 
134  Names_t getRobotContact (in string name, out intSeq indexes,
135  out floatSeqSeq points)
136  raises (Error);
137 
149  void createPlacementConstraint (in string placementName,
150  in Names_t shapeName, in Names_t envContactName)
151  raises (Error);
152 
165  void createPrePlacementConstraint (in string placementName,
166  in Names_t shapeName, in Names_t envContactName, in double witdh)
167  raises (Error);
168 
173  void createQPStabilityConstraint (in string constraintName,
174  in Names_t shapesName)
175  raises (Error);
176 
183  boolean setConstraints (in ID idComp, in boolean target)
184  raises (Error);
185 
193  boolean applyConstraints (in ID idComp, in floatSeq input, out floatSeq output,
194  out double residualError)
195  raises (Error);
196 
207  boolean applyConstraintsWithOffset (in ID IDedge, in floatSeq qnear, in floatSeq input, out floatSeq output,
208  out double residualError)
209  raises (Error);
210 
224  boolean buildAndProjectPath (in ID IDedge, in floatSeq qb, in floatSeq qe, out long indexNotProj,
225  out long indexProj)
226  raises (Error);
227 
231  void setTargetState(in ID IDstate) raises (Error);
232 
235  ID edgeAtParam (in unsigned long inPathId, in double atDistance, out string graphName)
236  raises (Error);
237 
238  manipulation_idl::graph_idl::Validation createGraphValidation ()
239  raises (Error);
240  }; // interface Problem
241  }; // module manipulation
242  }; // module corbaserver
243 }; // module hpp
244 
245 #endif // HPP_MANIPULATION_CORBA_ROBOT_IDL
sequence< floatSeq > floatSeqSeq
sequence< string > Names_t
sequence< long > intSeq
long ID
Definition: gcommon.idl:23
Definition: problem.idl:29
sequence< double > floatSeq
Vec3f * points