Go to Post Welcome to FIRST! You will soon figure out that there is no "exit strategy" from this program. - David Brinza [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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!
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
switch speed control wayne 05 Programming 6 01-10-2003 09:35
speed control punarhero Technical Discussion 11 24-01-2002 18:03


All times are GMT -5. The time now is 09:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi