|
Re: 4x4 software differential,oops
Posted by James.
Coach on team #21, ComBBAT, from Brevard Community College and Boeing.
Posted on 11/8/2000 8:10 PM MST
In Reply to: Re: 4x4 software differential posted by James on 11/8/2000 12:45 PM MST:
1/2 the code is missing. Here is the whole code
If p1_y=127 then notmoving:
adjustrightspeed
If p1_x>138 then adjustright: goto dontadjustright
adjustright
pwm1=(p1_y-(p1_x/19)) min 0 max 254 :goto adjustleftspeed 'adjust the speed of the left wheel
dontadjustright
pwm1=p1_y
adjustleftspeed
If p1_x
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
|