#include <fcntl.h>
#include <list>
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <termios.h>
#include <unistd.h>
#include "BaseException.h"
#include "misc.h"
#include "pseudosem.h"
#include "LaserDevice.h"
#include <assert.h>
Include dependency graph for LaserDevice.cc:

Namespaces | |
| namespace | RobotFlow | 
Defines | |
| #define | LOBYTE(w) ((unsigned char) (w & 0xFF)) | 
| #define | HIBYTE(w) ((unsigned char) ((w >> 8) & 0xFF)) | 
| #define | MAKEUINT16(lo, hi) ((((unsigned short) (hi)) << 8) | ((unsigned short) (lo))) | 
| #define | STX ((unsigned char)0x02) | 
| #define | ACK ((unsigned char)0x06) | 
| #define | NACK ((unsigned char)0x15) | 
| #define | CRC16_GEN_POL 0x8005 | 
| #define | MAX_RETRIES 5 | 
| #define | BAUDRATE_DEFAULT B9600 | 
| #define | BAUDRATE_LOW B19200 | 
| #define | BAUDRATE_HIGH B38400 | 
| #define | MAX_LASER_DATA_LENGTH 361 | 
Functions | |
| void * | RobotFlow::receive_threadLaser (void *sLaser) | 
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
 1.4.4