Click to See Complete Forum and Search --> : block avoidance algo help


abacusdheda
August 18th, 2010, 11:25 PM
Hi all,
i am participating in a competition where my autonomous bot have to differentiate between two types of block(essentially placed on the intersections of a grid) & deposit one of them at target position, avoiding contact with other type of block. sensors will take care of differentiating the blocks.
The problem is that if the bot follows scanning columnwise (or rowwise) & detect obstacle block in path, how should bot go about modifying the path dynamically. any standard algorithm which comes to help in such problems? elaborate explanation with pseudocode is most welcome.

samaursa
September 20th, 2010, 05:17 PM
Do you know where your block is beforehand or not? Can your robot know where in the grid it is at any point?