Wednesday, March 4, 2009

Wall Vision

The distance sensing by vision idea turned out to be awesome. We can get various ammounts of information and it is outlined in the figure below. I measured distances upto 5 squares away from the wall.
Process:
1) first took a vertical scanline from the centre; this determines how far away the wall is from the target and how much other info we can determine (otherwise the wall will block it out)
2) then there are two walls adjacent to the one directly ahead we can always get some info about. if they have a closer height than the main then we have walls on the sides coming up, if they are same then they are on the same distance as before, and if they are less then there is an opening.
3) at the furthest distances there is upto 5 bits of information instead of 3, this is a little small but you can still read some data from it, and do the same as in 2 to determine more positions.
ie. the blue arrows on the pic below demonstrate how 2/3 can show if there is an gap, a side wall, or the wall at the same level as infront.


0 Comments:

Post a Comment

<< Home