nowe shelfy kolorowe wziuuu #10

Merged
s444428 merged 10 commits from s444428/AL-2020:master into master 2020-06-09 22:56:57 +02:00
Showing only changes of commit d9c2092551 - Show all commits

View File

@ -70,10 +70,16 @@ def run():
new_product = FinalProduct(supply_depot.item[0], supply_depot.item[1], supply_depot.item[2],
supply_depot.item[3], prediction[0])
print(new_product)
'''
Wyznacza patha do polki na ktora ma polozyc produkt.
'''
# list [x, y]
dest_shelf = new_product.shelf()
dest_field = board[dest_shelf[0], dest_shelf[1]]
path = functions.a_star(board[agent.y][agent.x], dest_field, board)
''''''
agent.item = new_product