def followLineToCross(self): rospy.loginfo("following line to cross") global goCellClient goal = GocellGoal() goal.cell_name = ''#'LoanOn1' # Fill in the goal here goCellClient.send_goal(goal) goCellClient.wait_for_result(rospy.Duration.from_sec(SERVER_WAIT_TIME)) rospy.sleep(2)
def followLineToEnd(self): rospy.loginfo("following line to end") global goCellClient #TODO: Determine end signal... goal = GocellGoal() goal.cell_name = 'End '#'LoanOn1' # Fill in the goal here goCellClient.send_goal(goal) goCellClient.wait_for_result(rospy.Duration.from_sec(SERVER_WAIT_TIME)) rospy.sleep(2)