Go to the documentation of this file.
29 #ifndef SENSOR_INFO_H__
30 #define SENSOR_INFO_H__
33 typedef unsigned char uint8_t;
34 typedef unsigned int uint32_t;
35 #if defined(HOKUYOAIST_STATIC)
36 #define HOKUYOAIST_EXPORT
37 #elif defined(hokuyoaist_EXPORTS)
38 #define HOKUYOAIST_EXPORT __declspec(dllexport)
40 #define HOKUYOAIST_EXPORT __declspec(dllimport)
44 #define HOKUYOAIST_EXPORT
76 return "UBG-04LX-F01";
84 return "Unknown model";
91 if(strncmp(model,
"URG-04LX", 8) == 0)
93 else if(strncmp(model,
"UBG-04LX-F01", 8) == 0)
95 else if(strncmp(model,
"UHG-08LX", 8) == 0)
97 else if(strncmp(model,
"UTM-30LX", 8) == 0)
99 else if(strncmp(model,
"UXM-30LX-E", 8) == 0)
121 return "Counter-clockwise";
149 std::string as_string();
220 void calculate_values();
227 #endif // SENSOR_INFO_H__