I'm not suprised, you've set yourself a tough goal I think. Can you drive it via a cable and attempt to navigate using only sensor readings. This way you might arrive at a strategy which you could translate into code. ----- Original Message ----- From: "Thomas N" To: Sent: 06 January 2003 23:39 Subject: [PIC]: Hexapod AI > Hi everyone, > > I am building a hexapod robot using the PIC16F877 Micro. It has 3 distance > sensors at the front, 3 at the back, and one on each side. It also have 4 > light sensors around its sides. > > I have some trouble writing the control function to navigate the robot > around the house since there are many different combinations of sensor > state. Sure, I can write some "if/else statements" but it looks like I will > have 4096 (2^12) if/else statements! There must be an efficient and easier > way! I heard something about fuzzy logic but not sure if it fits my > application. Any help would be appreciated. > > Regards, > Thomas > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.