hpp-corbaserver  6.0.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
Definition: common-idl.hh:78
Definition: common-idl.hh:689
::CORBA::Double Transform_[7]
Definition: common-idl.hh:915
Corba exception travelling through the Corba channel.
Definition: common.idl:27
Obstacle management.
Definition: obstacle.idl:21
void cutObstacle(in string objectName, in floatSeq aabb)
void loadPolyhedron(in string obstacleName, in string filename)
Load a polyhedron as an obstacle from a file.
void createPolyhedron(in string polyName)
create an empty polyhedron.
void loadObstacleModelFromString(in string urdfString, in string prefix)
void createSphere(in string name, in double radius)
void moveObstacle(in string objectName, in Transform_ cfg)
Move an obstacle to a given configuration.
void loadObstacleModel(in string filename, in string prefix)
void removeObstacleFromJoint(in string objectName, in string jointName, in boolean collision, in boolean distance)
Remove an obstacle from outer objects of a joint body.
void createCylinder(in string name, in double radius, in double length)
Names_t getObstacleNames(in boolean collision, in boolean distance)
void removeObstacle(in string objectName)
Remove an obstacle.
unsigned long addTriangle(in string polyName, in unsigned long pt1, in unsigned long pt2, in unsigned long pt3)
Add a point to a polyhedron.
void getObstaclePosition(in string objectName, out Transform_ cfg)
void createBox(in string inBoxName, in double x, in double y, in double z)
Create a box.
void addObstacle(in string objectName, in boolean collision, in boolean distance)
Add an obstacle to the set of obstacles.
unsigned long addPoint(in string polyName, in double x, in double y, in double z)
Add a point to a polyhedron.
Implement CORBA interface `‘Obstacle’'.
Definition: client.hh:46