def getPlanInfo(self, plan): plan = planplayback.asRobotPlan(self.plan) return max(plan.plan_info)
def isPlanFeasible(self): plan = planplayback.asRobotPlan(self.plan) return plan is not None and ( max(plan.plan_info) < 10 and min(plan.plan_info) >= 0 )
def isPlanFeasible(self): plan = planplayback.asRobotPlan(self.plan) return plan is not None and (max(plan.plan_info) < 10 and min(plan.plan_info) >= 0)