hpp-manipulation-corba  4.9.0
Corba server for manipulation planning
robot.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_ROBOT_IDL
19 #define HPP_MANIPULATION_CORBA_ROBOT_IDL
20 
21 #include <hpp/common.idl>
22 
23 module hpp
24 {
25  module corbaserver {
26  module manipulation {
27  interface Robot
28  {
40  void insertRobotModel (in string robotName, in string rootJointType,
41  in string urdfname, in string srdfname)
42  raises (Error);
43 
45  void insertRobotModelOnFrame (in string robotName, in string frameName,
46  in string rootJointType, in string urdfname, in string srdfname)
47  raises (Error);
48 
57  void insertRobotModelFromString (in string robotName, in string rootJointType,
58  in string urdfString, in string srdfString)
59  raises (Error);
60 
63  void insertRobotSRDFModel (in string robotName, in string packageName,
64  in string modelName, in string srdfSuffix)
65  raises (Error);
66 
78  void insertHumanoidModel (in string robotName, in string rootJointType,
79  in string urdfname, in string srdfname)
80  raises (Error);
81 
91  void insertHumanoidModelFromString (in string robotName, in string rootJointType,
92  in string urdfString, in string srdfString)
93  raises (Error);
94 
100  void loadEnvironmentModel (in string urdfName, in string srdfName,
101  in string prefix)
102  raises (Error);
103 
106  Transform_ getRootJointPosition (in string robotName)
107  raises (Error);
108 
113  void setRootJointPosition (in string robotName, in Transform_ position)
114  raises (Error);
115 
121  void addGripper (in string linkName, in string gripperName,
122  in Transform_ handlePositioninJoint)
123  raises (Error);
124 
130  void addHandle (in string linkName, in string handleName,
131  in Transform_ localPosition)
132  raises (Error);
133 
140  void addAxialHandle (in string linkName, in string handleName,
141  in Transform_ localPosition)
142  raises (Error);
143 
146  string getGripperPositionInJoint (in string gripperName,
147  out Transform_ position)
148  raises (hpp::Error);
149 
152  string getHandlePositionInJoint (in string handleName,
153  out Transform_ position)
154  raises (hpp::Error);
155 
156  }; // interface Robot
157  }; // module manipulation
158  }; // module corbaserver
159 }; // module hpp
160 
161 #endif // HPP_MANIPULATION_CORBA_ROBOT_IDL
double Transform_[7]