local s={}local P=5 local m=coupler.Position local T=0 local w=.5
--anti-sleep algorithm
local LastPositions = {}
local NumberPositions = 5
local LastAveragePosition = coupler.Position
local LastRateOfChangeOfAveragePosition = 0
local WakeupThreshold = 0.5 --studs per second
