Author Topic: line tracking.. off the line .. sensor programming issues  (Read 2490 times)

0 Members and 1 Guest are viewing this topic.

Offline canatanTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
we're making a line tracking robot that runs off the line but along it...
so there was one sensor protruding from the front left corner..
and then our seniors asked us to put one in the back left corner and one in the middle next to the wheels for detecting junctions..
anyhoo each sensor set has 4 sensors 2 that are are on the corners of the line and 2 right outside .. all 4 sensors are in a str horizontal line..
what i dont get is how do i use the sensor in the middle for turning??

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: line tracking.. off the line .. sensor programming issues
« Reply #1 on: June 02, 2009, 02:44:51 PM »
well, if you ae turning it will try to keep the center of the robot over the line so it doesn't stray away.
Howdy

Offline canatanTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: line tracking.. off the line .. sensor programming issues
« Reply #2 on: June 02, 2009, 07:25:53 PM »
so i can combine the front and back sensors into one int and check with the middle ones?

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: line tracking.. off the line .. sensor programming issues
« Reply #3 on: June 03, 2009, 12:40:01 AM »
make the robot turn the direction of the line but make sure the middle keeps reading that the line is there.
Howdy

 


Get Your Ad Here