View unanswered posts | View active topics It is currently Tue Sep 30, 2014 6:28 am






Reply to topic  [ 3 posts ] 
Using a line follower to count lines 
Author Message
Rookie
User avatar

Joined: Tue May 01, 2012 9:55 pm
Posts: 3
Post Using a line follower to count lines
I want to write a program in virtual worlds that uses the line follower to count lines. Does anyone know how to complete this? I've tried using while and for loops but nothing works.


Tue May 01, 2012 9:58 pm
Profile
Moderator
Moderator
User avatar

Joined: Tue Sep 14, 2010 9:19 pm
Posts: 496
Post Re: Using a line follower to count lines
If you've tried code, then please post it. It's usually better to work off of what you figured out on your own than to have someone just tell you. Have your tried looking at the relevant sample programs?

_________________
sudo rm -rf /


Tue May 01, 2012 10:52 pm
Profile
Expert

Joined: Wed Jun 30, 2010 7:15 am
Posts: 181
Post Re: Using a line follower to count lines
What exactly is your setup? The more info we get, the better and faster we can help out -- what does the robot look like, what does the arena look like, etc. Pictures (or in this case screenshots) would be perfect. Also, the best thing for you to do right now is write pseudo-code (description of what exactly you want the robot to do, step by step; examples here: http://goo.gl/9vE29), which will make it much easier for you to write the actual program.

EDIT: I see that magicode and I were replying at the same time, and I agree with him: also post whatever code you have.

_________________
leonoverweel.com


Tue May 01, 2012 10:53 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.