示例#1
0
def real_thing():
    robot = rosebot.RoseBot()
    receiver = rec.Receiver(robot)
    mqtt_receiver = com.MqttClient(receiver)
    mqtt_receiver.connect_to_pc()
    while True:
        time.sleep(0.01)
        if receiver.is_time_to_stop:
            break
def big_boy_code():
    gurney_bot = rosebot.RoseBot()
    receiver = rec.Receiver(gurney_bot)
    mqtt_receiver = com.MqttClient(receiver)
    mqtt_receiver.connect_to_pc()
    while True:
        time.sleep(0.01)
        if receiver.is_time_to_stop:
            break
示例#3
0
def FinalProject():
    robot = rosebot.RoseBot()
    delegate = guid.Receiver(robot)
    mqtt_delegate = com.MqttClient(delegate)
    mqtt_delegate.connect_to_pc()

    while True:
        time.sleep(.01)
        if delegate.is_time_to_stop:
            break
示例#4
0
def capstone():
    rhobert = rosebot.RoseBot()
    print("This is the Capstone project implementation")
    receiver = sgd.Receiver(rhobert)
    mqtt_receiver = com.MqttClient(receiver)
    mqtt_receiver.connect_to_pc()
    while True:
        time.sleep(0.01)
        if (receiver.is_time_to_stop):
            break
def main_project():
    robot = rosebot.RoseBot()
    receiver = rec.Receiver(robot)
    mqtt_receiver = com.MqttClient(receiver)
    mqtt_receiver.connect_to_pc()

    while True:
        time.sleep(0.01)
        if receiver.quit_bool:
            break
示例#6
0
def real_demonstration():
    print('creating robot')
    robot = rosebot.RoseBot()
    receiver = rec.Receiver(robot)
    mqtt_receiver = com.MqttClient(receiver)
    mqtt_receiver.connect_to_pc()

    while True:
        time.sleep(0.01)
        if receiver.quit_bool:
            break