示例#1
0
def main(argv):
    if (len(argv) < 2):
        way_point = "PatternLab"
    else:
        way_point = argv[1]
    with Robot() as r:
        r.nav_to(way_point).wait()
示例#2
0
def main(argv):
    with Robot() as r:
        r.nav_to("Office3515").wait()
        r.display_message("Hello Prof. Heliotis", 15)
        r.nav_to("RNDLab").wait()
示例#3
0
def main():
    """Test out simple API stuff."""
    with Robot("129.21.69.34", 15001) as r:
        p = r.nav_to("Office3515").then(callback)
        p.wait()
        print("fin")
示例#4
0
def main(argv):
    ip = argv[1]
    way_point = argv[2]
    with Robot(ip, 15001) as r:
        r.nav_to(way_point).wait()
示例#5
0
from corobot import Robot
way_point = "PatternLab"
with Robot() as r:
    r.nav_to(way_point).wait()