Thanks for your comment. Happy you liked the concept.
The grid is an excellent idea ! It will definitely help to estimate how far we are from obstacles. I'll add this to my to-do list.