1

Implement base TurtleController and simple VolumeExcavationController

This commit is contained in:
2025-10-05 19:08:45 +02:00
commit 3bb3790f1b
8 changed files with 690 additions and 0 deletions

20
main.lua Normal file
View File

@ -0,0 +1,20 @@
local TestingController = require("controller.testing_controller")
local VolumeExcavationController = require("controller.volume_excavation_controller")
local controllers = {
TestingController:Create(),
VolumeExcavationController:Create(),
}
print("Multiple controllers are available:")
print("1: Testing Mode")
print("2: Volume Excavation")
local choice = 0
while choice < 1 or choice > #controllers do
print("Choose a controller by entering its number:")
choice = tonumber(io.read()) or 0
end
controllers[choice]:Run()