Most of the code for obstacle handling is in place. A few challenging parts need to be worked out.