28 #ifndef RS4Leuze_laser_h 29 #define RS4Leuze_laser_h 32 #include <sys/types.h> 41 #define MAX_SCAN_POINTS 529 45 double Reading[MAX_SCAN_POINTS];
61 unsigned char checksum;
62 unsigned char option1;
63 long unsigned int scan_number;
64 unsigned int output_start;
65 unsigned int output_stop;
66 unsigned int scanedPoint;
67 unsigned char controlByte;
68 unsigned int points_to_scan;
78 unsigned char readByte();
85 void openSerial(
bool *laser_ON,
int Baud_rate,
const char * Port);
int serialFD
Serial port file descriptor.
Definition: RS4Leuze_laser.h:56
Definition: playerclient.h:313
int selectResult
Laser Message fields.
Definition: RS4Leuze_laser.h:59
char * portName
Serial Port where laser is connected.
Definition: RS4Leuze_laser.h:55
Claser implements functions to read data from a laser scanner ROTOSCAN RS4-4 (Leuze corp...
Definition: RS4Leuze_laser.h:52
Definition: RS4Leuze_laser.h:44
timeval timeStamp
Time in microseconds resolution.
Definition: RS4Leuze_laser.h:70
termios ttyset
termios variable to configure serial port
Definition: RS4Leuze_laser.h:57