go away spammer

Author Topic: A little help  (Read 1786 times)

0 Members and 1 Guest are viewing this topic.

Offline ElimathewTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
A little help
« on: August 10, 2012, 10:18:16 AM »
hey guys i building a basic line follower for this particular track 
http://www.techfest.org/img/competitions/techolympics/gridmaster/zonal2_l.jpg
the robot should pass particular set of coordinates which is not fixed and is needed to be entered just before each run. i would appreciate some basic ideas regarding coding this robot .im using 8052 microcontroller keil compiler
« Last Edit: August 10, 2012, 10:25:55 AM by Elimathew »

Offline greywanderer012345

  • Robot Overlord
  • ****
  • Posts: 133
  • Helpful? 2
Re: A little help
« Reply #1 on: August 23, 2012, 07:45:34 AM »
What sensors are you able to use?

Do you have to use the method of inputting coordinates? I would approach it with turns, rather than coordinates.

//Pseudocode
If(Turn is Possible)
   turnDirection(turns[nextTurn++]);

Then, put 3 buttons for direction. For the example maze it would be turns[]={L,L,R,L,S,S,L,L}

 


Get Your Ad Here

data_list