All Classes Namespaces Files Functions Variables Enumerations Enumerator
libs/range_sensor/c/urg_t.h
Go to the documentation of this file.
00001 #ifndef QRK_C_URG_T_H
00002 #define QRK_C_URG_T_H
00003 
00013 #include "urg_parameter_t.h"
00014 #include "serial_t.h"
00015 
00016 
00020 typedef enum {
00021   UrgLaserOff = 0,
00022   UrgLaserOn,
00023   UrgLaserUnknown,
00024 } urg_laser_state_t;
00025 
00026 
00030 typedef struct {
00031 
00032   serial_t serial_;              
00033   int errno_;                    
00034   urg_parameter_t parameters_;   
00036   int skip_lines_;   
00037   int skip_frames_; 
00038   int capture_times_; 
00040   urg_laser_state_t is_laser_on_; 
00042   long last_timestamp_;         
00043   int remain_times_;            
00045   char remain_data_[3];
00046   int remain_byte_;
00047 
00048 } urg_t;
00049 
00050 #endif /* !QRK_C_URG_T_H */