@name Tank
@inputs Pod:wirelink
@outputs Left_GearBox Right_GearBox Throttle
@persist Right_GearBox Left_GearBox
interval(10)

W=Pod:number("W")
S=Pod:number("S")
A=Pod:number("A")
D=Pod:number("D")


if(W){
    Left_GearBox=1,Right_GearBox=1,Throttle=100}
elseif(S){
    Left_GearBox=2,Right_GearBox=2,Throttle=100}
elseif(A){
    Left_GearBox=2,Right_GearBox=1,Throttle=100}
elseif(D){
    Left_GearBox=1,Right_GearBox=2,Throttle=100}
else{Throttle=0}
