Maybe I'm missing something? Or maybe the reason for the "0" (false) result was unclear?
I did like that the output was 0 when nothing was in the way because it was at least predictable. I did not realize that you set-up the library to do that on purpose.
I like the idea of true/false based on 0 or non0 that will make it easier to work out the logic for dodging objects.
Keep up the good work!