Commit 45565301 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[Python] basestring -> str

parent dcd12529
......@@ -153,7 +153,7 @@ class Robot (Parent):
self.RH_KFE_bounds = self.getJointBounds('RH_KFE')
def loadAllLimbs(self,heuristic, analysis = None, nbSamples = nbSamples, octreeSize = octreeSize,disableEffectorCollision = False):
if isinstance(heuristic,basestring):#only one heuristic name given assign it to all the limbs
if isinstance(heuristic,str):#only one heuristic name given assign it to all the limbs
dict_heuristic = {}
for id in self.limbs_names:
dict_heuristic.update({id:heuristic})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment