View Single Post
  #4   Spotlight this post!  
Unread 11-10-2006, 15:25
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,513
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Tracking Lines

Quote:
Originally Posted by christinedevrie
What is the best way to teach my students to write a line tracking program? Are there any tutorials for them to use? Thanks, Chris de Vries
As someone who's had a hand in programming a few line followers of the Mindstorms nature, the best advice I can offer here is to act like you're the robot. You've got three readings, one from each sensor in the line follower kit. What do you do if your left sensor is reading what is most likely a white line? (How long do you do that for?) The right sensor? What if none of the sensors are seeing the line?

Be the robot (no, not like that), and it should be pretty easy to figure out.

Naturally, I'm assuming that you know how to program your robot to move autonomously at all. If not, you'll want a lesson in EasyC or MPLAB first.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote