Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Help With Line Follower (http://www.chiefdelphi.com/forums/showthread.php?t=68193)

computerwiz514 23-06-2008 21:51

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.

usbcd36 23-06-2008 22:11

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.

ManicMechanic 24-06-2008 11:20

Re: Help With Line Follower
 
Quote:

Originally Posted by computerwiz514 (Post 754061)
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.

Kingofl337 24-06-2008 13:35

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.


All times are GMT -5. The time now is 19:59.

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