but i am not able to apply the wavefront in VB.....cud u make it little more clear?
what the wavefront algorithm does is
1)divide the floor into a square grid
2)lets say ur goal coordinates are (0,0) in this 2d world
3)it will assign a value of ,f=(absolute(x)+absolute(y)), to each of the square grids, where x and y are the x and y coordinates of that grid wrt origin(goal)
4)at each position of ur bot in the world u move ur bot into the neighboring grid with the lowest f value if it does not consist an obstacle or if it does then into the neighbouring grid with the second lowest f value and so on....
this ensures ur bot is moving along the shortest path to the goal and avoiding obstacles as well
this is a special case of the A* algorithm from game programming with g=0, check this out for more info and a different implementation
http://theory.stanford.edu/~amitp/GameProgramming/ i just want my robo to move around and avoid obstacles .Will add complexities later like scanning the area,etc.
first my robo shd b able to move from source to destination will a map drawn in paint...
I think the simplest thing that could be done to achieve this kind of a thing would be to have your robot speak serially(RS 232 or USB) to your computer
and hand over the sensor readings and other relevant data and then carry out the mapping, path finding, etc. on your computer and then send back the motor control signals back to your microcontroller, check out the UART tutorial by admin on the home page and my post on another site for connecting ur bot to computer using serial or parallel port
http://www.roboticsindia.com/modules.php?name=Forums&file=viewtopic&t=2826 and how could i output a hex file using VB ?
i dont really know of many visual basic compilers for microcontrollers and i guess u should also specify what microcontroller u are using so that we could help you out on that front
moreover using the above suggested method of talking to ur bot serially u'll only have to compile easy and small code for uC in some other compiler and rest of ur code can be in any language through which u can serially talk to your bot!!
finally my rant comes to an end