def main(): """ main method """ print "Calibrating Roboclaws..." roboclaw.calibrateRoboclaws() print "...Done" try: thread.start_new_thread(receive, ("ReceiverThread", 1)) except: print "Error: unable to start thread" mutex.acquire() one_on_one()
def main(): """ main method """ print "Calibrating Roboclaws" roboclaw.calibrateRoboclaws() print "done" try: thread.start_new_thread(receive, ("ReceiverThread", 1)) except: print "Error: unable to start thread" mutex.acquire() # follow_behind_ball() # rush_goal() # score_goal() #go_to_point_behind_ball() #one_on_one() test()