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 #endif
00030 LaserRangeFinderReadings
00031 {
00032 public:
00033 LaserRangeFinderReadings()
00034 : seq( 0 )
00035 , stamp( 0 )
00036 , angle_min( 0.0f )
00037 , angle_max( 0.0f )
00038 , angle_increment( 0.0f )
00039 , time_increment( 0.0f )
00040 , range_min( 0.0f )
00041 , range_max( 0.0f )
00042 {
00043 }
00044
00045 unsigned int seq;
00046 unsigned int stamp;
00047 std::string frame_id;
00048
00049 float angle_min;
00050 float angle_max;
00051 float angle_increment;
00052 float time_increment;
00053 float scan_time;
00054 float range_min;
00055 float range_max;
00056
00057 std::vector< float > ranges;
00058 std::vector< float > intensities;
00059 };
00060 }
00061 }
00062 }
00063
00064 #endif //_REC_ROBOTINO_COM_LASERRANGEFINDERREADINGS_H_