parameters: (self,config=None,tol=None)
return_statement: return max(abs(ei) for ei in e) <= tol
docstring: Returns true if the closed loop constraint has been met at config,
          or if config==None, the robot's current configuration.
docstring_summary: Returns true if the closed loop constraint has been met at config,
          or if config==None, the robot's current configuration.
docstring_tokens: Returns true if the closed loop constraint has been met at config or if config == None the robot s current configuration .
function: def closedLoop(self,config=None,tol=None):
          """Returns true if the closed loop constraint has been met at config,
          or if config==None, the robot's current configuration."""
          if config is not None: self.robot.setConfig(config)
          e = self.solver.getResidual()
          if tol==None: tol = self.tol
          return max(abs(ei) for ei in e) <= tol
function_tokens: def closedLoop ( self , config = None , tol = None ) : if config is not None : self . robot . setConfig ( config ) e = self . solver . getResidual ( ) if tol == None : tol = self . tol return max ( abs ( ei ) for ei in e ) <= tol