You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been hand adding to the motor controller to allow improved control over the tank drive using a way to set the turn different then forward & reverse to allow for:
l298n_sleeptime=0.2
l298n_rotatetimes=2
l298n_lr_sleeptime=0.1
l298n_lr_rotatetimes=2
then adding:
if direction == 'L':
GPIO.output(StepPinLeft, GPIO.HIGH)
time.sleep(l298n_lr_sleeptime)
GPIO.output(StepPinLeft, GPIO.LOW)
if direction == 'R':
GPIO.output(StepPinRight, GPIO.HIGH
time.sleep(l298n_lr_sleeptime
GPIO.output(StepPinRight, GPIO.LOW)
The text was updated successfully, but these errors were encountered:
As talked about in your pull request. We will probably unlink forward / backward and turning. Just need to do a little consulting before hand. Docs and sample config will need to be updated with warnings about the change so people transitioning from the old controller will not be caught off guard.
I have been hand adding to the motor controller to allow improved control over the tank drive using a way to set the turn different then forward & reverse to allow for:
l298n_sleeptime=0.2
l298n_rotatetimes=2
then adding:
if direction == 'L':
GPIO.output(StepPinLeft, GPIO.HIGH)
time.sleep(l298n_lr_sleeptime)
GPIO.output(StepPinLeft, GPIO.LOW)
if direction == 'R':
GPIO.output(StepPinRight, GPIO.HIGH
time.sleep(l298n_lr_sleeptime
GPIO.output(StepPinRight, GPIO.LOW)
The text was updated successfully, but these errors were encountered: