00001 00002 /* ***************************************************************************************** */ 00003 /* ** LRF library ** */ 00004 /* ***************************************************************************************** */ 00005 extern unsigned short kb_lrf_DistanceData[121]; // Array contains distance data after 00006 // successfull call of LRF_GetDistances 00007 00008 /* ***************************************************************************************** */ 00009 /* ** Prototypes ** */ 00010 /* ***************************************************************************************** */ 00011 00012 extern int kb_lrf_Init(char *LRF_DeviceName); // returns LRF_DeviceHandle 00013 00014 extern int kb_lrf_GetDistances(int LRF_DeviceHandle); // return <0 on failure, 0 on success 00015 00016 extern void kb_lrf_Close(int LRF_DeviceHandle); // no return value 00017