sicklms200b.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 <linux/serial.h>
#include <libplayercore/playercore.h>
#include <libplayerinterface/playerxdr.h>

Classes

class  SickLMS200b

Defines

#define HAVE_LINUX_SERIAL_H
#define HAVE_HI_SPEED_SERIAL
#define DEFAULT_LASER_PORT   "/dev/ttyS1"
#define DEFAULT_LASER_CONNECT_RATE   9600
#define DEFAULT_LASER_TRANSFER_RATE   38400
#define DEFAULT_LASER_RETRIES   3
#define MAX_CONNECT_RATES   8
#define VERBOSE_READ   1
#define VERBOSE_WRITE   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 * SickLMS200b_Init (ConfigFile *cf, int section)
void SickLMS200b_Register (DriverTable *table)
int player_driver_init (DriverTable *table)

Variables

PlayerTime * GlobalTime


Define Documentation

#define ACK   0xA0

#define CRC16_GEN_POL   0x8005

#define DEFAULT_LASER_CONNECT_RATE   9600

#define DEFAULT_LASER_PORT   "/dev/ttyS1"

#define DEFAULT_LASER_RETRIES   3

#define DEFAULT_LASER_TRANSFER_RATE   38400

#define HAVE_HI_SPEED_SERIAL

#define HAVE_LINUX_SERIAL_H

#define MAX_CONNECT_RATES   8

#define NACK   0x92

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

#define STX   0x02

#define VERBOSE_READ   1

#define VERBOSE_WRITE   1


Function Documentation

int player_driver_init ( DriverTable *  table  ) 

Driver* SickLMS200b_Init ( ConfigFile *  cf,
int  section 
)

void SickLMS200b_Register ( DriverTable *  table  ) 


Variable Documentation

PlayerTime* GlobalTime


Generated on Sun Feb 21 00:00:05 2010 for Penn State Robotics Club: AUVSI IGVC 2010 by  doxygen 1.5.5