import MyBot
MyBot.main('Navigator')
Example #2
0
import MyBot
MyBot.main('Hedge')
Example #3
0
import QRcode
import numpy as np

# direction MACRO
STOP = 0
FRONT = 1
LEFT = 2
RIGHT = 3
BACK = 4

# hyperparameters
excellentdistance = 20
MAX_TRY_TIME = 5

# robot&camera instance
Bot = MyBot.MyBot()
QRmodule = QRcode.QRmodule()

# map:
grid = [[0, 3], [1, 4], [2, 5]]
pointList = [[0, 0, 1], [1, 0, 1], [2, 0, 1], [0, 1, 1], [1, 1, 1], [2, 1, 1]]
route = [[-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1]]

routeFlag = 0
ub = 1
db = 0
lb = 0
rb = 2

# task:
START = 0
Example #4
0
import MyBot

if __name__ == "__main__":
    my_bot = MyBot.Manager()
    my_bot.handle()
Example #5
0
import MyBot
MyBot.main('KMeans')