00001
00002
00003 #ifndef _REC_ROBOTINO_COM_LASERRANGEFINDERREADINGS_H_
00004 #define _REC_ROBOTINO_COM_LASERRANGEFINDERREADINGS_H_
00005
00006 #include <vector>
00007 #include <string>
00008
00009 namespace rec
00010 {
00011 namespace robotino
00012 {
00013 namespace com
00014 {
00018 class
00019 #ifdef WIN32
00020 # ifdef rec_robotino_com_EXPORTS
00021 __declspec(dllexport)
00022 # endif
00023 # ifdef rec_robotino_com2_EXPORTS
00024 __declspec(dllexport)
00025 # endif
00026 # ifdef rec_robotino_com3_EXPORTS
00027 __declspec(dllexport)
00028 # endif
00029 #else
00030 # ifndef SWIG
00031 __attribute__ ((visibility ("default")))
00032 # endif
00033 #endif
00034 LaserRangeFinderReadings
00035 {
00036 public:
00037 LaserRangeFinderReadings()
00038 : seq( 0 )
00039 , stamp( 0 )
00040 , angle_min( 0.0f )
00041 , angle_max( 0.0f )
00042 , angle_increment( 0.0f )
00043 , time_increment( 0.0f )
00044 , range_min( 0.0f )
00045 , range_max( 0.0f )
00046 {
00047 }
00048
00049 unsigned int seq;
00050 unsigned int stamp;
00051 std::string frame_id;
00052
00053 float angle_min;
00054 float angle_max;
00055 float angle_increment;
00056 float time_increment;
00057 float scan_time;
00058 float range_min;
00059 float range_max;
00060
00061 std::vector< float > ranges;
00062 std::vector< float > intensities;
00063 };
00064 }
00065 }
00066 }
00067
00068 #endif //_REC_ROBOTINO_COM_LASERRANGEFINDERREADINGS_H_