Boe-Bot help!?
Dan Taylor
Posts: 207
Hey guys,
I just don't get why this makes the Boe-Bot go backwards,
PULSOUT 13, 650
PULSOUT 12, 850
And this·makes it do a left turn,
PULSOUT 13, 650
PULSOUT 12, 650
And this makes·it take a·right turn,
PULSOUT 13, 850
PULSOUT 12, 850
Cause I mean if you send the same amount of pulses to each motor wouldn't it go forward?
Sorry I'm new to the Boe-Bot so please help!
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
I just don't get why this makes the Boe-Bot go backwards,
PULSOUT 13, 650
PULSOUT 12, 850
And this·makes it do a left turn,
PULSOUT 13, 650
PULSOUT 12, 650
And this makes·it take a·right turn,
PULSOUT 13, 850
PULSOUT 12, 850
Cause I mean if you send the same amount of pulses to each motor wouldn't it go forward?
Sorry I'm new to the Boe-Bot so please help!
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
PULSOUT 12, 650
The above would be forward. Remember one motor is "mirror image" of the other -- it's mounted "flipped" on the Boe-bot chassis. So you have to run one motor "forward" and one "backward" to go forward because the "backward" motor *is* backward.
If it's too much, you could put your "motor out" commands into a subroutine that flips the value for you, i.e.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor