Author Topic: line tracking.. off the line .. sensor programming issues  (Read 2138 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

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3040 Views
Last post November 27, 2007, 04:01:48 AM
by Ro-Bot-X
1 Replies
4756 Views
Last post December 06, 2008, 01:50:26 PM
by Razor Concepts
5 Replies
1196 Views
Last post January 06, 2010, 08:35:26 AM
by madsci1016
3 Replies
1667 Views
Last post January 03, 2011, 08:30:11 PM
by Soeren


Get Your Ad Here