remove duplicate displayAutopilotControls definition
This commit is contained in:
23
main.lua
23
main.lua
@@ -711,29 +711,6 @@ function collectSensorData()
|
|||||||
return data
|
return data
|
||||||
end
|
end
|
||||||
|
|
||||||
function displayAutopilotControls(monitor)
|
|
||||||
if not monitor or not monitor.peripheral then return end
|
|
||||||
|
|
||||||
local m = monitor.peripheral
|
|
||||||
m.clear()
|
|
||||||
m.setCursorPos(1, 1)
|
|
||||||
|
|
||||||
-- Simple autopilot control panel
|
|
||||||
m.write("Autopilot Controls")
|
|
||||||
m.setCursorPos(1, 2)
|
|
||||||
m.write("------------------")
|
|
||||||
m.setCursorPos(1, 3)
|
|
||||||
m.write("Engage: [ ]")
|
|
||||||
m.setCursorPos(1, 4)
|
|
||||||
m.write("Speed: [0.0]")
|
|
||||||
m.setCursorPos(1, 5)
|
|
||||||
m.write("Heading: [0.0]")
|
|
||||||
m.setCursorPos(1, 6)
|
|
||||||
m.write("Manual: [ ]")
|
|
||||||
m.setCursorPos(1, 7)
|
|
||||||
m.write("Mode: Auto")
|
|
||||||
end
|
|
||||||
|
|
||||||
function Main()
|
function Main()
|
||||||
Init()
|
Init()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user