def fear_surprise(): woody_action.move_to([3,8], [-59.09, 56.74]) time.sleep(1) woody_action.move_to([4,9], [95.45, -93.7]) time.sleep(1) woody_action.move_to([4,9], [30.06, -27.13]) time.sleep(1) woody_action.move_to([3,8], [32.7, -32.11]) time.sleep(1) woody_action.move_to(ids, starting_pose)
def sadness(): woody_action.move_to([2,3], [15.4, 41.5]) time.sleep(1) woody_action.move_to([3], [32.7]) time.sleep(1) woody_action.move_to(ids, starting_pose)
def anger_disgust(): woody_action.move_to([3], [0]) time.sleep(1) woody_action.move_to([4,8], [-6.01, -29.47]) time.sleep(1) woody_action.move_to([9], [-2.2]) time.sleep(1) woody_action.move_to([9], [-27.13]) time.sleep(1) woody_action.move_to([4,8], [30.06, -44.13]) time.sleep(1) woody_action.move_to([3], [32.7]) time.sleep(1) woody_action.move_to(ids, starting_pose)
def random_look(): pose = [random.uniform(1, 80), random.uniform(-10, 20)] woody_action.move_to([1,2], pose)
def check_env(): woody_action.move_to([1], []) time.sleep(2) woody_action.move_to([1], []) time.sleep(2) woody_action.move_to([2], []) time.sleep(2) woody_action.move_to([1], []) time.sleep(2) woody_action.move_to([1], []) time.sleep(2) woody_action.move_to([2], []) time.sleep(2)
def happiness_neutral(): woody_action.move_to([3,8], [-0.15, -0.15]) time.sleep(1) woody_action.move_to([2,4,9], [26.25, 58.21, -62.02]) time.sleep(1) woody_action.move_to([3,8], [30.06, -27.13]) time.sleep(1) woody_action.move_to([3,8], [58.21, -62.02]) time.sleep(1) woody_action.move_to([3,8], [30.06, -27.13]) time.sleep(1) woody_action.move_to([2,3,8], [-9.53, -0.15, -0.15]) time.sleep(1) woody_action.move_to([3,8], [32.7, -32.11]) time.sleep(1) woody_action.move_to(ids, starting_pose)