AndyDentFree / rbstuff

Automatically exported from code.google.com/p/rbstuff
2 stars 0 forks source link

rbKarel bug in block detection #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
use map 1 in the sample
try the following script
TurnOn
TurnLeft
if frontIsBlocked then
say "Oh No I'm blocked"
end if

works when blocked to the West but not the East

Original issue reported on code.google.com by dentaroo@gmail.com on 27 Apr 2009 at 6:54

GoogleCodeExporter commented 9 years ago
Fixed in r43- rewrite wall blocking detection to be proper spatial logic based 
purely on wall being horizontal or 
vertical and between two points

Original comment by dentaroo@gmail.com on 27 Apr 2009 at 10:44