示例#1
0
 def newplanner(self, si):
     planner = og.pSBL(si)
     planner.setRange(10.0)
     planner.setThreadCount(4)
     projection = ou.vectorUint()
     projection.extend([0, 1])
     cdim = ou.vectorDouble()
     cdim.extend([1, 1])
     proj = ob.RealVectorOrthogonalProjectionEvaluator(si.getStateSpace(), cdim, projection)
     planner.setProjectionEvaluator(proj)
     return planner
示例#2
0
 def newplanner(self, si):
     planner = og.pSBL(si)
     planner.setRange(10.0)
     planner.setThreadCount(4)
     projection = ou.vectorUint()
     projection.extend([0, 1])
     cdim = ou.vectorDouble()
     cdim.extend([1, 1])
     proj = ob.RealVectorOrthogonalProjectionEvaluator(si.getStateSpace(), cdim, projection)
     planner.setProjectionEvaluator(proj)
     return planner