View unanswered posts | View active topics It is currently Sat Sep 26, 2020 3:31 pm

Reply to topic  [ 2 posts ] 
Line Tracking/What next? 
Author Message

Joined: Fri Oct 19, 2012 1:19 pm
Posts: 4
Post Line Tracking/What next?
:arrow: help me so I know what to do after this! Thank you! :bigthumb:

obstacle.c [4.12 KiB]
Downloaded 599 times
Fri Nov 16, 2012 2:21 pm
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 722
Post Re: Line Tracking/What next?
What is the robot doing, and how is it different from what you want it to do? Run through each line of code step-by-step and 'map' it to an action you want the robot to perform. After the line tracking, what do you want the robot to do? Specifically for this program, when are you telling the robot to stop line tracking?

The first thing I would focus on is making sure the robot stops line tracking when you want it to; as a hint, this is generally done by either line tracking until a certain amount of encoder counts are met or by line tracking until a certain time is reached. Either way, the condition of the 'while (1 == 1)' will more than likely need to be changed.

I would suggest taking a look through our video trainer curriculum to review loops and conditions: ... index.html

Check out our Blog! And our Facebook page!
Need help? Take a look at our updated help documentation and the ROBOTC Forums.

Fri Nov 16, 2012 2:53 pm
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

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.