parameters: (self,start,goal)
docstring: Sets the start and goal configuration or goal condition. 
  
          Args:
              start (list of floats): start configuration
              goal (list of floats, function, or pair of functions): defines the
                  goal condition.  Can be:
  
                  - a configuration: performs point-to-point planning.
                  - a function: the goal is a set, and goal is a 1-argument
                    function f(q) that returns true if the configuration q is at
                    in the goal set and false otherwise. 
                  - a pair of functions (f,s): f(q) tests whether the
                    configuration is at the goal, and s() generates a new
                    sample in the goal set.
docstring_summary: Sets the start and goal configuration or goal condition.
docstring_tokens: Sets the start and goal configuration or goal condition .
function: def setEndpoints(self,start,goal):
          """Sets the start and goal configuration or goal condition. 
  
          Args:
              start (list of floats): start configuration
              goal (list of floats, function, or pair of functions): defines the
                  goal condition.  Can be:
  
                  - a configuration: performs point-to-point planning.
                  - a function: the goal is a set, and goal is a 1-argument
                    function f(q) that returns true if the configuration q is at
                    in the goal set and false otherwise. 
                  - a pair of functions (f,s): f(q) tests whether the
                    configuration is at the goal, and s() generates a new
                    sample in the goal set.
  
          """
          if hasattr(goal,'__call__'):
              self.planner.setEndpointSet(start,goal)
          elif(len(goal) == 2 and hasattr(goal[0],'__call__')):
              self.planner.setEndpointSet(start,goal[0],goal[1])
          else:
              self.planner.setEndpoints(start,goal)
function_tokens: def setEndpoints ( self , start , goal ) : if hasattr ( goal , '__call__' ) : self . planner . setEndpointSet ( start , goal ) elif ( len ( goal ) == 2 and hasattr ( goal [ 0 ] , '__call__' ) ) : self . planner . setEndpointSet ( start , goal [ 0 ] , goal [ 1 ] ) else : self . planner . setEndpoints ( start , goal )