@@ -7,13 +7,15 @@ def forward_docstring(backend_feature):
77 def dec (obj ):
88 obj .__doc__ = backend_feature .__dict__ [obj .__name__ ].__doc__
99 return obj
10+
1011 return dec
1112
1213
1314class ClientInterface (object ):
1415 """Interface for all backend clients. Forwards all planning services and
1516 planning scene management to the planner.
1617 """
18+
1719 def __init__ (self ):
1820 self .planner = PlannerInterface (self )
1921 # self.control = ControlInterface()
@@ -70,6 +72,7 @@ def remove_attached_collision_mesh(self, *args, **kwargs):
7072 """Forwards call to appropriate method in the planner."""
7173 return self .planner .remove_attached_collision_mesh (* args , ** kwargs )
7274
75+
7376# # ==========================================================================
7477# # executing
7578# # ==========================================================================
@@ -100,6 +103,7 @@ class PlannerInterface(object):
100103 behavior for all planning services and planning scene management methods. To be
101104 use in conjunction with backend feature interfaces.
102105 """
106+
103107 def __init__ (self , client ):
104108 super (PlannerInterface , self ).__init__ ()
105109 self .client = client
@@ -116,7 +120,7 @@ def inverse_kinematics(self, *args, **kwargs):
116120 Exception
117121 Planner does not have this feature.
118122 """
119- raise Exception (' Assigned planner does not have this feature.' )
123+ raise Exception (" Assigned planner does not have this feature." )
120124
121125 def forward_kinematics (self , * args , ** kwargs ):
122126 """Default method for planner.
@@ -126,7 +130,7 @@ def forward_kinematics(self, *args, **kwargs):
126130 Exception
127131 Planner does not have this feature.
128132 """
129- raise Exception (' Assigned planner does not have this feature.' )
133+ raise Exception (" Assigned planner does not have this feature." )
130134
131135 def plan_motion (self , * args , ** kwargs ):
132136 """Default method for planner.
@@ -136,7 +140,7 @@ def plan_motion(self, *args, **kwargs):
136140 Exception
137141 Planner does not have this feature.
138142 """
139- raise Exception (' Assigned planner does not have this feature.' )
143+ raise Exception (" Assigned planner does not have this feature." )
140144
141145 def plan_cartesian_motion (self , * args , ** kwargs ):
142146 """Default method for planner.
@@ -146,7 +150,7 @@ def plan_cartesian_motion(self, *args, **kwargs):
146150 Exception
147151 Planner does not have this feature.
148152 """
149- raise Exception (' Assigned planner does not have this feature.' )
153+ raise Exception (" Assigned planner does not have this feature." )
150154
151155 # ==========================================================================
152156 # collision objects and planning scene
@@ -160,7 +164,7 @@ def get_planning_scene(self, *args, **kwargs):
160164 Exception
161165 Planner does not have this feature.
162166 """
163- raise Exception (' Assigned planner does not have this feature.' )
167+ raise Exception (" Assigned planner does not have this feature." )
164168
165169 def reset_planning_scene (self , * args , ** kwargs ):
166170 """Default method for planner.
@@ -170,7 +174,7 @@ def reset_planning_scene(self, *args, **kwargs):
170174 Exception
171175 Planner does not have this feature.
172176 """
173- raise Exception (' Assigned planner does not have this feature.' )
177+ raise Exception (" Assigned planner does not have this feature." )
174178
175179 def add_collision_mesh (self , * args , ** kwargs ):
176180 """Default method for planner.
@@ -180,7 +184,7 @@ def add_collision_mesh(self, *args, **kwargs):
180184 Exception
181185 Planner does not have this feature.
182186 """
183- raise Exception (' Assigned planner does not have this feature.' )
187+ raise Exception (" Assigned planner does not have this feature." )
184188
185189 def remove_collision_mesh (self , * args , ** kwargs ):
186190 """Default method for planner.
@@ -190,7 +194,7 @@ def remove_collision_mesh(self, *args, **kwargs):
190194 Exception
191195 Planner does not have this feature.
192196 """
193- raise Exception (' Assigned planner does not have this feature.' )
197+ raise Exception (" Assigned planner does not have this feature." )
194198
195199 def append_collision_mesh (self , * args , ** kwargs ):
196200 """Default method for planner.
@@ -200,7 +204,7 @@ def append_collision_mesh(self, *args, **kwargs):
200204 Exception
201205 Planner does not have this feature.
202206 """
203- raise Exception (' Assigned planner does not have this feature.' )
207+ raise Exception (" Assigned planner does not have this feature." )
204208
205209 def add_attached_collision_mesh (self , * args , ** kwargs ):
206210 """Default method for planner.
@@ -210,7 +214,7 @@ def add_attached_collision_mesh(self, *args, **kwargs):
210214 Exception
211215 Planner does not have this feature.
212216 """
213- raise Exception (' Assigned planner does not have this feature.' )
217+ raise Exception (" Assigned planner does not have this feature." )
214218
215219 def remove_attached_collision_mesh (self , * args , ** kwargs ):
216220 """Default method for planner.
@@ -220,4 +224,4 @@ def remove_attached_collision_mesh(self, *args, **kwargs):
220224 Exception
221225 Planner does not have this feature.
222226 """
223- raise Exception (' Assigned planner does not have this feature.' )
227+ raise Exception (" Assigned planner does not have this feature." )
0 commit comments