Brendan Connolly 1/12/09
program for line follower on Not Quite C by Luke Cronin
task main()
{
SetSensor(SENSOR_2,SENSOR_LIGHT);
OnFwd(OUT_A+OUT_C);
while (true)
{
if (SENSOR_2> THRESHOLD)
{
OnRev(OUT_C);
until (Sensor_2 <= THRESHOLD);
OnFwd(OUT_A+OUT_C);
}
}
}
This is my robot video.
robot vid.3g2
This is my line following robot.
Brendan Connolly 1/09/09
Mike D'Amore and I worked on a CD drive, but it wasn't really working so we collaborated with Luke Cronin on a line following robot. We all did certain parts and we combined our information to create the line following robot that follows the black tape. Luke did the majority of the programming while Mike and I set-up the build of the robots so that it is more able to follow the lines. I have built the design of the robot so that it can transmit when it senses colors. I have also set up the wheel size for my robot and had the idea for the white tape around the sides of the track so that it doesn't get off track and go crazy.I have created the second track for us to test. I have made my robot durable so that it can follow the line and it won't fall apart.Our project now can follow the black line and once it senses the white line it turns around. I have searched information on the line following robots. I have changed the amount of sliders so that it can improve the way it turns. I also increased the size of the wheels so that it can follow the line better because before it wouldn't move on the tape. I also removed the shadow reducing attachment on the back of the robot because with NQC it didn't really make a difference.
Comments (0)
You don't have permission to comment on this page.