Implement base TurtleController and simple VolumeExcavationController
This commit is contained in:
20
main.lua
Normal file
20
main.lua
Normal 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()
|
||||
Reference in New Issue
Block a user