more debug statements for troubleshooting

This commit is contained in:
2026-06-27 18:02:05 -05:00
parent 67c6916632
commit c724e848f7

View File

@@ -486,7 +486,11 @@ function PollSensors()
end
function PollVelocity()
local velSensors = peripheral.find("velocity_sensor")
local velSensors = { peripheral.find("velocity_sensor") }
if (Config.Debug) then
print("DEBUG: Found "..#velSensors.." velocity sensors.")
print("DEBUG: Velocity sensors: "..tableToString(velSensors))
end
-- Velocity Sensors
VelocityVectors = {}