Commit Graph

63 Commits

Author SHA1 Message Date
Adam Mikolajczak
b0ac67a105 fix: Slightly changed tractor.py - also checking if branch works 2024-06-09 10:39:48 +02:00
Zofia Lorenc
4595a5fe83 Merge branch 'sieci-neuronowe-uczenie' 2024-06-09 09:28:11 +02:00
Zofia Lorenc
856816e108 code cleaning 2024-06-09 09:14:40 +02:00
Wojciech Kubicki
f7279fc846 feat: generate initial field layout using genetic algorithm 2024-06-08 22:05:54 +02:00
Zofia Lorenc
03724c3cf4 some code cleaning 2024-05-27 10:38:22 +02:00
Zofia Lorenc
58524a59a7 fixed potatoes problems 2024-05-27 10:34:17 +02:00
Zofia Lorenc
82ab417bfc added photo recognition 2024-05-26 22:34:44 +02:00
Zofia Lorenc
4955e737c5 photos for predictions 2024-05-26 17:44:01 +02:00
d2ad851cab model trained and saved 2024-05-26 02:49:54 +02:00
50c585eb16 added training photos and the training code 2024-05-25 22:28:58 +02:00
aae7ad82e8 traktor jezdzi po calym polu i sadzi jak nalezy 2024-05-12 21:42:30 +02:00
3b3097d3ec Merge branch 'main' of https://git.wmi.amu.edu.pl/s483780/inteligenty-traktor into jazda-z-sadzeniem
# Conflicts:
#	src/tractor.py
2024-05-12 19:51:46 +02:00
Adam Mikolajczak
eb34cbfab3 fix: tractor does not explode after seeing dynia anymore 2024-05-12 18:24:34 +02:00
Adam Mikolajczak
c341c02249 fix: tractor doesn't explode when it encounters onion anymore. 2024-05-12 17:31:30 +02:00
Adam Mikolajczak
c0d05cce43 feat(decision tree)
program sie wywala jesli traktor chce zasadzic cebule. czemu? nie wiem.
2024-05-12 16:45:03 +02:00
538b25c07a Getting actions for each tile 2024-05-12 14:18:44 +02:00
Adam Mikolajczak
37d0084561 feat: decision tree
Dodałem tree.csv, gdzie jest zbiór przykładów, w pliku decisiontree.py użyty
jest pakiet sklearn
2024-05-10 19:01:11 +02:00
Adam Mikolajczak
697736d7b5 fix: the cost of entering water in a-star alg is now 1000. 2024-05-10 11:25:50 +02:00
Adam Mikolajczak
c30d6ffc5c feat: adding water tiles
1/3 of free tiles are now water. water.png obviously is a prototype (it's ugly).
2024-05-10 11:21:15 +02:00
Wojciech Kubicki
f85f5b4cdc feat: enable setting starting coords and direction from .env 2024-04-29 15:32:52 +02:00
Wojciech Kubicki
c6b61e8f69 feat: store constants in .env for easier adjustments during presentations 2024-04-27 20:37:12 +02:00
Zofia Lorenc
4d9fda66e8 dodanie ikonek warzyw 2024-04-27 09:47:06 +02:00
Wojciech Kubicki
79ce3cc3ec feat: automate tractor to find path using A* while avoiding vegetable tiles 2024-04-26 14:43:39 +02:00
Zofia Lorenc
ac6a8771e6 generowanie nastepnikow 2024-04-15 09:36:04 +02:00
Zofia Lorenc
f6d9fa609e dodanie czesci ikonek warzyw 2024-04-15 03:40:46 +02:00
699185b0c9 chore(readme): add instruction on how to start environment 2024-04-10 17:45:00 +02:00
Wojciech Kubicki
a7db089ce4 feat(tractor): implement tank controls 2024-04-10 17:41:16 +02:00
Wojciech Kubicki
a1d4895a7a feat(tractor): rotate tractor on left-right arrow keys 2024-04-10 17:38:08 +02:00
Wojciech Kubicki
e6566cee48 feat: add new sprites & direction to tractor 2024-04-10 17:33:11 +02:00
Wojciech Kubicki
505926461e feat(logs): print out growth modifier based on tile neighbours 2024-03-25 13:04:21 +01:00
Wojciech Kubicki
5baf1c3a3d refactor(tractor): use icons to print statements in console log 2024-03-25 12:36:01 +01:00
Wojciech Kubicki
2658f77669 feat(tractor): update water level and add replenish functionality 2024-03-25 12:35:03 +01:00
Wojciech Kubicki
e4aa771022 style: fix inconsistent spacing & add newline at end of files 2024-03-25 12:32:24 +01:00
Wojciech Kubicki
c99e738034 refactor(TILE_SIZE): load environment variables in config.py file 2024-03-25 12:30:06 +01:00
Wojciech Kubicki
7c30177bf1 feat(tractor): add basic watering functionality 2024-03-25 02:16:14 +01:00
Wojciech Kubicki
09b65e9fd1 feat(tractor): print how much water current tile needs 2024-03-25 02:01:09 +01:00
Wojciech Kubicki
ff7e5c4b99 feat(tractor): add method to get current tile 2024-03-25 02:00:28 +01:00
Wojciech Kubicki
7de410c59a refactor(tile_init): set type based on random vegetable 2024-03-25 01:52:34 +01:00
Wojciech Kubicki
8ce604df46 feat(tile_type): randomly assign each tile a vegetable at init 2024-03-25 01:27:20 +01:00
Wojciech Kubicki
eaaac9f277 feat(tractor): print out on what tile type the tractor is currently on 2024-03-25 00:38:40 +01:00
Wojciech Kubicki
af87ff2475 fix(tractor): prevent tractor from moving off board 2024-03-25 00:11:09 +01:00
Wojciech Kubicki
8dceac3ebe chore(readme): add pythlog to required dependencies 2024-03-25 00:01:46 +01:00
1009851475 Zaimplementowano bazę wiedzy z uzyciem pytholog oraz prostych metod 2024-03-24 16:54:25 +01:00
6935761754 chore: add emojis to README 💅 2024-03-11 15:34:11 +01:00
Adam Mikolajczak
129f100ed3 small correction 2024-03-11 14:35:44 +01:00
08e4b09ca4 chore: update README 2024-03-11 09:03:59 +01:00
Wojciech Kubicki
4ed53a01d5 fix: remove .env from remote repository 2024-03-11 08:54:42 +01:00
Wojciech Kubicki
9b5256dcd9 chore: add '.env' file to gitignore 2024-03-11 01:58:06 +01:00
Wojciech Kubicki
d9f07cdfe6 feat: adjust window size based on TILE_SIZE 2024-03-11 01:55:45 +01:00
Wojciech Kubicki
f8e5d9574f fxi(images): prepend with 'src/' to load images in modules 2024-03-11 01:10:05 +01:00