int IRRead (IRHandle handle)

determines if the IR sensor detects an obstacle

Documentation

determines if the IR sensor detects an obstacle. for any given IR handle, returns the state of the IR (obstacle detected or unblocked).

Returns:
0/1 depending on an obstacle
Parameters:
handle - the particular IR handle
Author:
Nicholas Tay & Ghee Heng Ong, CIIPS 1998
See Also:
IRHandle IRInit IRRelease

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de