See also

In this project, there is an example of avoiding walls, which is worked out using weighted blending.