コード例 #1
0
ファイル: main.py プロジェクト: Aand1/pyOptimalMotionPlanning
def testPlannerDefault(problem,problemName,maxTime,plannerType,**plannerParams):
    global numTrials
    print "Planning with",plannerType,'on problem',problemName
    planner = problem.planner(plannerType,**plannerParams)
    folder = os.path.join("data",problemName)
    mkdir_p(folder)
    test.testPlanner(planner,numTrials,maxTime,os.path.join(folder,allplanners.filename[plannerType]+'.csv'))
コード例 #2
0
ファイル: main.py プロジェクト: bbgw/pyOptimalMotionPlanning
def testPlannerDefault(problem,problemName,maxTime,plannerType,**plannerParams):
    #checker = EpsilonEdgeChecker(problem.configurationSpace,0.01)
    print "Planning with",plannerType,'on problem',problemName
    planner = problem.planner(plannerType,**plannerParams)
    folder = os.path.join("data",problemName)
    mkdir_p(folder)
    test.testPlanner(planner,10,maxTime,os.path.join(folder,allplanners.filename[plannerType]+'.csv'))
コード例 #3
0
def testPlannerDefault(problem, problemName, maxTime, plannerType,
                       **plannerParams):
    global numTrials
    print "Planning with", plannerType, 'on problem', problemName
    planner = problem.planner(plannerType, **plannerParams)
    folder = os.path.join("data", problemName)
    mkdir_p(folder)
    test.testPlanner(
        planner, numTrials, maxTime,
        os.path.join(folder, allplanners.filename[plannerType] + '.csv'))