View Single Post
  #7   Spotlight this post!  
Unread 19-02-2002, 19:42
Joseph F Joseph F is offline
Registered User
#0506 (Steel Friars)
 
Join Date: Jan 2002
Location: New York
Posts: 59
Joseph F is an unknown quantity at this point
Send a message via AIM to Joseph F
then edit it to read:


If p1_y | p2_y < 115 then rev
if p1_y | p2_y > 135 then fwd
pwm1 = 127
goto end
fwd:
If p1_y > p2_y then use1
pwm1 = p2_y
goto end

use1
pwm1=p1_y
goto end

rev:
if p1_y < p2_y then use2
pwm1 = p2_y
goto end

use2:
pwm1 = p1_y
end:
__________________
One Team, One Bot, One Fleet of Ambulances!