Starbase/Other/AAS+StrafeArrest/MovementArrest_Lat.yolol
2024-05-09 16:07:27 -07:00

21 lines
381 B
Plaintext

y=-2 yd=-.5 x=2 xd=.5 t=0.4 :CV=0 :CH=0
goto2+:StopLat
:CV=y*:RY+yd*((:RY-a)/t) :CH=x*:RX+xd*((:RX-b)/t) a=:RY b=:RX
goto3*:StopLat
goto5 //error catch if no button. Set goto1 to reset.
//Name chipwait field :MAL for ESTOP/AAS integration.
//Dependencies
//LD/CLF Translation Sensor :RX :RY
//NavSuite LeverCenterCenterValue computer controls. :CH, :CV
//:StopLat button