I'm having my thesis with some colleagues. I'm a student of a college here in Philippines. Write an NXT-G program that will have your robot. Line following works by using the Light Sensor to read the changes. Basic Line Follow Step By Step Directions. Virtual Brick: A First Look – Making a Line Follower. Home / Tutorials / Virtual Brick: A First Look – Making a Line Follower. Thank you so much for your help! Dvico Mac Drivers on this page. About the threshold value, I am using the Robot Virtual Worlds program, so I do not know of a way to check the values. I have tried multiple conditional statements in order to get the loop to work, but it always stops after the first turn. I think that it might be a problem with the while loop, seeing how it only does the first step. Originally, I had the turn speed at 50 percent power, but I changed it to 100 hoping that maybe it was just moving to slow for me to see. Then, when it gets to the line following part of the program, it makes the first left turn until it sees the white area and stops and will not continue. It does this perfectly and is very nearly centered on the black line. First, I have told the robot to move forward until it detects a black line then stop.
0 Comments
Leave a Reply. |