def run(self, instance):
     navTo.navigateTo("waitingarea")
     r = rospy.Rate(1)
     r.sleep()
     if not vision.are_people():
         speech("Oh, it's empty")
         instance.running = False
Beispiel #2
0
 def run(self, instance):
     speech("Please follow me to the waiting area")
     navTo.navigateTo("waitingarea")
     speech("I will come get you when your table is ready")
     instance.addInput('')
     # add a task to collect them after the time
     taskManager.new_task("CollectFromWaitingArea",
                          table_number=None,
                          delay=5,
                          customerID=-1)
     r = rospy.Rate(1)
     r.sleep()
     instance.running = False
 def run(self, instance):
     speech("Please follow me")
     navTo.navigateTo("table" + str(instance.group_table))
     speech("Please take a seat. Someone will be with you in a few minutes")
     instance.addInput('')
     cusID = instance.model.tables[instance.table_number - 1]['customerID']
     taskManager.new_task("TakeOrder",
                          table_number=instance.group_table,
                          delay=0.5,
                          customerID=cusID)
     r = rospy.Rate(1)
     r.sleep()
     instance.model.tables[instance.table_number]
     instance.running = False
Beispiel #4
0
 def run(self, instance):
     navTo.navigateTo("frontdesk")
Beispiel #5
0
 def run(self, instance):
     navTo.navigateTo("table" + str(instance.table))
 def run(self, instance):
     navTo.navigateTo("table" + str(instance.table_number))
     speech("Here is your " + str(instance.food_order))
     listen()
     speech("Please tell me to go when you've got your food")
 def run(self, instance):
     navTo.navigateTo("kitchen")
def goto():
    navTo.navigateTo(request.args.get('location', ''))
    return 'going to ' + request.args.get('location', '')