need help with Line follower module
Archiver
Posts: 46,084
Hello,
i recently got the Parallax Line Follower Module(#29115) to attach
onto my Boe-bot for a line following project and i'm having problems
with it. I ran the first test file to make sure each of the detectors
detects the black line and that seems to be working fine. But when i
try the other files(LF_SIMPLE.BS2 and LF_CONTEST.BS2), the Boe-bot
won't move at all. It just stays there, apparently it's detecting the
line but the servos dont do anything and nothing happens. Please give
me some help on this, I've gotta get this going by tomorrow at the
latest. Any and all suggestions for what i should check and do would
be greatly helpful.
Also when i was going through chapter 1 of the Robotics text that
comes with the Boe-bot, and it has basic programs that move the right
and left wheels clockwise and counterclockwise.. i ran those and the
boe-bot would move in the correct direction with the right wheel but
it would only move once in that direction. the code calls for it to
be an infinite loop so i assume the wheel should keep going in that
direction, not just move once. what do you think could be the problem
here and is this affecting the line follower module from moving the
boe-bot to follow the black line?
Thanks for the help.
-z.
i recently got the Parallax Line Follower Module(#29115) to attach
onto my Boe-bot for a line following project and i'm having problems
with it. I ran the first test file to make sure each of the detectors
detects the black line and that seems to be working fine. But when i
try the other files(LF_SIMPLE.BS2 and LF_CONTEST.BS2), the Boe-bot
won't move at all. It just stays there, apparently it's detecting the
line but the servos dont do anything and nothing happens. Please give
me some help on this, I've gotta get this going by tomorrow at the
latest. Any and all suggestions for what i should check and do would
be greatly helpful.
Also when i was going through chapter 1 of the Robotics text that
comes with the Boe-bot, and it has basic programs that move the right
and left wheels clockwise and counterclockwise.. i ran those and the
boe-bot would move in the correct direction with the right wheel but
it would only move once in that direction. the code calls for it to
be an infinite loop so i assume the wheel should keep going in that
direction, not just move once. what do you think could be the problem
here and is this affecting the line follower module from moving the
boe-bot to follow the black line?
Thanks for the help.
-z.
Comments
are within the code loop that talks to the servos.
Original Message
> i recently got the Parallax Line Follower Module(#29115) to attach
> onto my Boe-bot for a line following project and i'm having problems
> with it. I ran the first test file to make sure each of the detectors
> detects the black line and that seems to be working fine. But when i
> try the other files(LF_SIMPLE.BS2 and LF_CONTEST.BS2), the Boe-bot
> won't move at all. It just stays there, apparently it's detecting the
> line but the servos dont do anything and nothing happens. Please give
> me some help on this, I've gotta get this going by tomorrow at the
> latest. Any and all suggestions for what i should check and do would
> be greatly helpful.
>
> Also when i was going through chapter 1 of the Robotics text that
> comes with the Boe-bot, and it has basic programs that move the right
> and left wheels clockwise and counterclockwise.. i ran those and the
> boe-bot would move in the correct direction with the right wheel but
> it would only move once in that direction. the code calls for it to
> be an infinite loop so i assume the wheel should keep going in that
> direction, not just move once. what do you think could be the problem
> here and is this affecting the line follower module from moving the
> boe-bot to follow the black line?
site(www.parallaxinc.com/linefollower) and it didnt have any DEBUG
statements in it. any other ideas on why it's not moving and
following the line?
i'm new to this but once you run a program in the basic stamp editor,
does that clear what was in the basic stamp before and just runs the
code you just downloaded to the bs2? and how do i clear everything
that's in there? i'm still lost on what problem is though.
thanks for the help.
--- In basicstamps@y..., Rodent <daweasel@s...> wrote:
> Did you add any DEBUG statements -- these will often trip up servos
if they
> are within the code loop that talks to the servos.
>
>
Original Message
>
> > i recently got the Parallax Line Follower Module(#29115) to attach
> > onto my Boe-bot for a line following project and i'm having
problems
> > with it. I ran the first test file to make sure each of the
detectors
> > detects the black line and that seems to be working fine. But when
i
> > try the other files(LF_SIMPLE.BS2 and LF_CONTEST.BS2), the Boe-bot
> > won't move at all. It just stays there, apparently it's detecting
the
> > line but the servos dont do anything and nothing happens. Please
give
> > me some help on this, I've gotta get this going by tomorrow at the
> > latest. Any and all suggestions for what i should check and do
would
> > be greatly helpful.
> >
> > Also when i was going through chapter 1 of the Robotics text that
> > comes with the Boe-bot, and it has basic programs that move the
right
> > and left wheels clockwise and counterclockwise.. i ran those and
the
> > boe-bot would move in the correct direction with the right wheel
but
> > it would only move once in that direction. the code calls for it
to
> > be an infinite loop so i assume the wheel should keep going in
that
> > direction, not just move once. what do you think could be the
problem
> > here and is this affecting the line follower module from moving
the
> > boe-bot to follow the black line?