urg_ctrl.h

Go to the documentation of this file.
00001 #ifndef URG_CTRL_C_H
00002 #define URG_CTRL_C_H
00003 
00013 #include "cpp_extern_macro.h"
00014 #include "detect_os.h"
00015 
00016 
00020 enum {
00021   URG_BAUDRATE = 115200,        
00022   URG_DATA_SIZE = 769, 
00024   NO_FILE_ERROR = -2,
00025   URG_BAUDRATE_ADJUST_ERROR = -3, 
00026   URG_PRODUCT_MISMATCH_ERROR = -4, 
00027 };
00028 
00029 
00030 BEGIN_C_DECLS;
00031 
00032 extern int initURGCtrl(int argc, char *argv[]);
00033 extern char* urg_getError(void);
00034 extern int urg_capture(long *data, int from ,int to, int group);
00035 extern int deg2index(const int degree);
00036 extern int index2deg(const int index);
00037 extern double index2rad(const int index);
00038 extern double deg2rad(const int degree);
00039 
00040 END_C_DECLS;
00041 #endif /* !URG_CTRL_C_H */
00042 

Generated on Mon Apr 13 22:52:04 2009 by  doxygen 1.5.7.1