Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

sicklms291.cc File Reference

#include <assert.h>
#include <math.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <libplayercore/playercore.h>

Compounds

class  sicklms291

Defines

#define DEFAULT_LASER_PORT   "/dev/ttyS0"
#define DEFAULT_LASER_PORT_RATE   38400
#define DEFAULT_LASER_RETRIES   1
#define STX   0x02
#define ACK   0xA0
#define NACK   0x92
#define CRC16_GEN_POL   0x8005
#define RETURN_ERROR(erc, m)   {PLAYER_ERROR(m); return erc;}

Functions

Driver * sicklms291_Init (ConfigFile *cf, int section)
void sicklms291_Register (DriverTable *table)
int player_driver_init (DriverTable *table)

Variables

PlayerTime * GlobalTime

Define Documentation

#define DEFAULT_LASER_PORT   "/dev/ttyS0"
 

#define DEFAULT_LASER_PORT_RATE   38400
 

#define DEFAULT_LASER_RETRIES   1
 

#define STX   0x02
 

#define ACK   0xA0
 

#define NACK   0x92
 

#define CRC16_GEN_POL   0x8005
 

#define RETURN_ERROR erc,
     {PLAYER_ERROR(m); return erc;}
 


Function Documentation

Driver* sicklms291_Init ConfigFile *    cf,
int    section
 

void sicklms291_Register DriverTable *    table
 

int player_driver_init DriverTable *    table
 


Variable Documentation

PlayerTime* GlobalTime
 


Generated on Tue Jan 10 17:29:19 2006 for Stanford AI Robot (STAIR) by doxygen1.2.17