def _build_goal(self, userdata): return Goal([Precondition(Condition.get('awareness'), 4)]) # TODO: prepared goal available: LocalAwareGoal
def testGetSame(self): self.assertIs(Condition.add(self.condition1), None, 'Could not add new condition') self.assertIs(Condition.get('name1'), self.condition1, 'Could not get that same condition')
def _build_goal(self, userdata): pose = position_tuple_to_pose(userdata.x, userdata.y, userdata.yaw) return Goal([Precondition(Condition.get('robot.pose'), pose)]) # TODO: prepared goal available: MoveToPoseGoal