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()
def main(argv): with Robot() as r: r.nav_to("Office3515").wait() r.display_message("Hello Prof. Heliotis", 15) r.nav_to("RNDLab").wait()
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")
def main(argv): ip = argv[1] way_point = argv[2] with Robot(ip, 15001) as r: r.nav_to(way_point).wait()
from corobot import Robot way_point = "PatternLab" with Robot() as r: r.nav_to(way_point).wait()