|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Line Follower
I don't do VEX, but I do have experience with light sensors, which are used to follow lines. FIRST off, do you have it in an area where it has enough light? Not just light from the outside, I also mean light coming to the sensor area. If the sense itself is not receiving enough light, it may not work, and/or it may take longer to find the line, since there isn't enough light to distinguish line from no line.
As for the slowness, do you mean that the line tracking itself is slow, or that it just takes a while to recognize the line, but after it does the robot goes through it quickly. |
|
#2
|
||||
|
||||
|
Re: Line Follower
Are you sure that it is the actual line sensor itself? You might try connecting it to an Arduino to see if you get similar results. Also, you might try creating a separate thread in thread in the code so that the line sensor's code will run much faster.
|
|
#3
|
||||
|
||||
|
Re: Line Follower
Let me qualify this by saying: I have no experience with vex whatsoever.
However, I have programmed quite a bit on a number of robot platforms. I find it very unlikely that the sensor is to blame, it is probably your code. Without having it in front of me I don't know what is wrong, but I would try Tom's suggestions. I just want to remind you not to jump to conclusions. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|