This commit is contained in:
lx
2026-07-06 14:01:11 -04:00
commit c4f97d729d
16468 changed files with 935321 additions and 0 deletions
@@ -0,0 +1,12 @@
local function validateMotor(motor)
assert(typeof(motor) == "table")
assert(typeof(motor.start) == "function")
assert(typeof(motor.stop) == "function")
assert(typeof(motor.step) == "function")
assert(typeof(motor.setGoal) == "function")
assert(typeof(motor.onStep) == "function")
assert(typeof(motor.onComplete) == "function")
assert(typeof(motor.destroy) == "function")
end
return validateMotor