Go to Post Nope, nope... no adults here. We're all kids. :) - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 23-06-2008, 21:51
computerwiz514 computerwiz514 is offline
Registered User
no team
 
Join Date: Jun 2008
Location: Waynesboro
Posts: 1
computerwiz514 is an unknown quantity at this point
Question Help With Line Follower

Can someone please help me with VEX Line Follower Programming. I don't understand it. I would appreciate it allot if someone sends me a code or gives information. Thanks.
  #2   Spotlight this post!  
Unread 23-06-2008, 22:11
usbcd36's Avatar
usbcd36 usbcd36 is offline
Registered User
AKA: "DOS"
FRC #2399 (The Fighting Unicorns)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Solon, OH
Posts: 151
usbcd36 is a jewel in the roughusbcd36 is a jewel in the roughusbcd36 is a jewel in the rough
Re: Help With Line Follower

The first step in programming anything is figuring out exactly what you want the program to do. Yes, you want to make a robot follow a line, but how will it do that? What kind of sensors does it have?

If you have one sensor that can detect when you are on the line and when you are off of it, the simplest (but not very efficient) method of following the line is to have the robot turn one way until the sensor leaves the line, then have it turn the other way until the sensor detects the line again. There are better ways to do this, however.

Once you figure out what you want to do, then you can start writing code.
  #3   Spotlight this post!  
Unread 24-06-2008, 11:20
ManicMechanic ManicMechanic is offline
Registered User
AKA: Yolande
VRC #0438 (Metal Gear)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2003
Location: CA
Posts: 213
ManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond repute
Re: Help With Line Follower

Quote:
Originally Posted by computerwiz514 View Post
Can someone please help me with VEX Line Follower Programming. I don't understand it. I would appreciate it allot if someone sends me a code or gives information. Thanks.
There is some explanation of line following and a simple program in the document "Vex for the Technically Challenged" at this link:

http://www.chiefdelphi.com/media/papers/2019

We used EasyCv2, not Pro, but the application should be similar.

The line follower sample program that comes with the Vex Programming Kit uses 3 sensors, which is more complicated than using one. I think it's easier to understand what you're doing if you start with just one sensor, move up to 2, and finally, try all 3.
__________________
He is no fool who gives what he cannot keep to gain that which he cannot lose. - Jim Elliot

Last edited by ManicMechanic : 24-06-2008 at 11:24. Reason: incomplete
  #4   Spotlight this post!  
Unread 24-06-2008, 13:35
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Help With Line Follower

You can open V2 programs in easyC Pro.

You may also want to check out www.vexforum.com allot of info there.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Following with PID CircularLogic Programming 14 14-11-2006 13:15
Vex line follower sensor kit program jbill30 Programming 5 12-05-2006 14:43
line seeking help needed MisterX Programming 13 21-02-2004 19:42
Help wiring Line sensors magical hands Electrical 1 18-02-2004 10:17


All times are GMT -5. The time now is 05:18.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi