new all bot ui add farm and crops

This commit is contained in:
2022-10-16 13:49:11 +02:00
parent 8b42a75956
commit 4d9f3faeba
3 changed files with 1160 additions and 1 deletions

View File

@@ -4,6 +4,8 @@ import cv2 as cv
import keyboard
from combined_user_interface import PrimaryOverlay
from equipment import Equipment
from crops import Crops
from farm import Farm
def run():
@@ -35,7 +37,12 @@ def run():
if overlay.rb_int.get() == 1:
equip = Equipment(overlay)
equip.execute_main_loop()
elif overlay.rb_int.get() == 2:
crops = Crops(overlay)
crops.execute_main_loop()
elif overlay.rb_int.get() == 3:
farm = Farm(overlay)
farm.execute_main_loop()
if __name__ == "__main__":
run()