hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
obstacle.idl
Go to the documentation of this file.
1 // Copyright (C) 2009, 2010 by Florent Lamiraux, Thomas Moulard, JRL.
2 //
3 // This file is part of the hpp-corbaserver.
4 //
5 // This software is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the
7 // implied warranties of fitness for a particular purpose.
8 //
9 // See the COPYING file for more information.
10 
11 #ifndef HPP_CORBASERVER_OBSTACLE_SERVER_IDL
12 #define HPP_CORBASERVER_OBSTACLE_SERVER_IDL
13 #include <hpp/common.idl>
14 
15 module hpp
16 {
17  module corbaserver {
20  interface Obstacle
21  {
31  void loadObstacleModel (in string filename, in string prefix)
32  raises (Error);
33 
38  void loadPolyhedron (in string obstacleName, in string filename)
39  raises (Error);
40 
50  void loadObstacleModelFromString (in string urdfString, in string prefix)
51  raises (Error);
52 
56  void removeObstacle (in string objectName) raises (Error);
57 
65  void removeObstacleFromJoint (in string objectName, in string jointName,
66  in boolean collision, in boolean distance)
67  raises (Error);
68 
72  void cutObstacle (in string objectName, in floatSeq aabb) raises (Error);
73 
88  void addObstacle (in string objectName, in boolean collision,
89  in boolean distance) raises (Error);
90 
100  void moveObstacle (in string objectName, in Transform_ cfg)
101  raises (Error);
102 
108  void getObstaclePosition (in string objectName, out Transform_ cfg)
109  raises (Error);
110 
116  Names_t getObstacleNames (in boolean collision, in boolean distance)
117  raises (Error);
118 
120 
123 
127  void createPolyhedron (in string polyName)
128  raises (Error);
129 
133  void createBox (in string inBoxName, in double x, in double y, in double z)
134  raises (Error);
135 
139  void createSphere (in string name, in double radius) raises (Error);
140 
145  void createCylinder (in string name, in double radius, in double length) raises (Error);
146 
153  unsigned long addPoint (in string polyName, in double x, in double y, in double z)
154  raises (Error);
155 
162  unsigned long addTriangle
163  (in string polyName, in unsigned long pt1,
164  in unsigned long pt2, in unsigned long pt3) raises (Error);
165 
167  };
168  };
169 };
170 
171 #endif
Obstacle management.
Definition: obstacle.idl:20
Implement CORBA interface ``Obstacle&#39;&#39;.
Corba exception travelling through the Corba channel.
Definition: common.idl:24
sequence< string > Names_t
Sequence of names.
Definition: common.idl:22
AABB aabb
FCL_REAL radius
double Transform_[7]
Element of SE(3) represented by a vector and a unit quaternion.
Definition: common.idl:36
FCL_REAL length[2]
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
FCL_REAL distance(const KDOP< N > &other, Vec3f *P=NULL, Vec3f *Q=NULL) const