fix: pret a manger
This commit is contained in:
parent
95cc09106e
commit
75dc12eb49
|
@ -26,18 +26,15 @@ SECONDARY_COLOR_SLIDER = (380, 380 + TEAM_OFFSET)
|
|||
ITEM_X = (200, 450, 700)
|
||||
ITEM_Y = (300, 580, 860)
|
||||
|
||||
NB_STICKERS = (2,)
|
||||
NB_WHEELS = 2
|
||||
NB_HATS = 2
|
||||
NB_STICKERS = (3, 3)
|
||||
NB_WHEELS = 23
|
||||
NB_HATS = 20
|
||||
NB_TEAMS = 2
|
||||
|
||||
DELAY = 0.1
|
||||
|
||||
NB_PRIMARY_COLORS = 2
|
||||
NB_SECONDARY_COLORS = 2
|
||||
|
||||
NB_HORIZONTAL_ROTATIONS = 3
|
||||
NB_VERTICAL_ROTATIONS = 3
|
||||
NB_PRIMARY_COLORS = 5
|
||||
NB_SECONDARY_COLORS = 5
|
||||
|
||||
|
||||
old_model = None
|
||||
|
|
|
@ -31,13 +31,13 @@ if __name__ == "__main__":
|
|||
database = connect_to_database("dataset.db")
|
||||
|
||||
loadouts = generate_loadouts()
|
||||
NB_ROTATIONS = 3
|
||||
NB_ROTATIONS = 20
|
||||
|
||||
while detect_focus(device):
|
||||
for (i, loadout) in enumerate(loadouts):
|
||||
((model, sticker), wheel, hat, team, primary_color, secondary_color) = loadout
|
||||
|
||||
logging.debug(f"loadout {i}: {(wheel, hat, team, primary_color, secondary_color)}")
|
||||
logging.debug(f"loadout {i}: {((model, sticker), wheel, hat, team, primary_color, secondary_color)}")
|
||||
newCar(model, sticker, wheel, hat, team, primary_color, secondary_color)
|
||||
|
||||
sleep(0.5)
|
||||
|
|
Loading…
Reference in a new issue