Sumo Bot Issue
So I put together a sumo bot and can't get it straight. It veers to the right. We had it set for
PULSOUT 13, 850
PULSOUT 12, 650
It veered to the right.
Changed it to a few times then got to....
PULSOUT 13, 804
PULSOUT 12, 650
and it still veered right the same amount, then
PULSOUT 13, 803
PULSOUT 12, 650
made it veer left!
Changed the batteries and the servo and it has not resolved the issue.
Any suggestions?
PULSOUT 13, 850
PULSOUT 12, 650
It veered to the right.
Changed it to a few times then got to....
PULSOUT 13, 804
PULSOUT 12, 650
and it still veered right the same amount, then
PULSOUT 13, 803
PULSOUT 12, 650
made it veer left!
Changed the batteries and the servo and it has not resolved the issue.
Any suggestions?
Comments
http://www.youtube.com/watch?v=cg13e3HmKVM
' {$STAMP BS2}
' {$PBASIC 2.5}
counter VAR Word
PAUSE 1000
FOR counter = 1 TO 2000
PULSOUT 13, 850
PULSOUT 12, 650
NEXT 'veers to the right
PAUSE 3000 'stop 3 sec's
FOR counter = 1 TO 2000
PULSOUT 13, 788
PULSOUT 12, 650
NEXT 'still right
PAUSE 3000 'stop 3 sec's
FOR counter = 1 TO 2000
PULSOUT 13, 787
PULSOUT 12, 650
NEXT 'veers left
END
Is anything rubbing on your drive wheels? I don't have a Sumobot, but I'm quite familiar with BoeBot. I'm assuming they're similar. Is there a caster ball on this, or do you have a bulldozer-style blade dragging on the ground? Have you tried swapping your servos L/R?
Try this;
Second, if it still goes one way or the other with a change in value of only one (787 vs 788) you could alternate between the two like this;
Third,... there is no third.
Good catch, Rich. I'm assuming that got edited out of the code listing since his video showed the bot moving...
And a great suggestion to try alternating 787/788. I think there may be another issue, but I'd be interested to hear the results if simmel65 can try it out and report back.