Perceiving affordances: visual guidance of stair climbing