parameters: (self,x=None)
return_statement: return False
docstring: Checks whether the robot at its current configuration is in
          collision with the environment.
docstring_summary: Checks whether the robot at its current configuration is in
          collision with the environment.
docstring_tokens: Checks whether the robot at its current configuration is in collision with the environment .
function: def envCollision(self,x=None):
          """Checks whether the robot at its current configuration is in
          collision with the environment."""
          if not self.collider: return False
          if x is not None: self.robot.setConfig(x)
          for o in range(self.collider.world.numRigidObjects()):
              if any(self.collider.robotObjectCollisions(self.robot.index,o)):
                  return True
          for o in range(self.collider.world.numTerrains()):
              if any(self.collider.robotTerrainCollisions(self.robot.index,o)):
                  return True
          return False
function_tokens: def envCollision ( self , x = None ) : if not self . collider : return False if x is not None : self . robot . setConfig ( x ) for o in range ( self . collider . world . numRigidObjects ( ) ) : if any ( self . collider . robotObjectCollisions ( self . robot . index , o ) ) : return True for o in range ( self . collider . world . numTerrains ( ) ) : if any ( self . collider . robotTerrainCollisions ( self . robot . index , o ) ) : return True return False