Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

khepera.h File Reference

#include <pthread.h>
#include <sys/time.h>
#include <errno.h>
#include <replace.h>
#include <driver.h>
#include <playercommon.h>
#include <player.h>
#include <drivertable.h>
#include <khepera_serial.h>

Go to the source code of this file.

Classes

struct  player_khepera_geom
class  Khepera

Defines

#define KHEPERA_CONFIG_BUFFER_SIZE   1024
#define KHEPERA_BAUDRATE   B38400
#define KHEPERA_DEFAULT_SERIAL_PORT   "/dev/ttyUSB0"
#define KHEPERA_DEFAULT_SCALE   10
#define KHEPERA_DEFAULT_ENCODER_RES   (1.0/12.0)
#define KHEPERA_DEFAULT_IR_CALIB_A   (64.158)
#define KHEPERA_DEFAULT_IR_CALIB_B   (-0.1238)
#define KHEPERA_MOTOR_LEFT   0
#define KHEPERA_MOTOR_RIGHT   1
#define KHEPERA_FIXED_FACTOR   10000
#define CRLF   "\r\n"
#define KHEPERA_COMMAND_PROMPT   "\r\n"
#define ABS(x)   ((x) < 0 ? -(x) : (x))
#define SGN(x)   ((x) < 0 ? -1 : 1)

Typedefs

typedef player_khepera_geom player_khepera_geom_t


Define Documentation

#define KHEPERA_CONFIG_BUFFER_SIZE   1024
 

#define KHEPERA_BAUDRATE   B38400
 

#define KHEPERA_DEFAULT_SERIAL_PORT   "/dev/ttyUSB0"
 

#define KHEPERA_DEFAULT_SCALE   10
 

#define KHEPERA_DEFAULT_ENCODER_RES   (1.0/12.0)
 

#define KHEPERA_DEFAULT_IR_CALIB_A   (64.158)
 

#define KHEPERA_DEFAULT_IR_CALIB_B   (-0.1238)
 

#define KHEPERA_MOTOR_LEFT   0
 

#define KHEPERA_MOTOR_RIGHT   1
 

#define KHEPERA_FIXED_FACTOR   10000
 

#define CRLF   "\r\n"
 

#define KHEPERA_COMMAND_PROMPT   "\r\n"
 

#define ABS  )     ((x) < 0 ? -(x) : (x))
 

#define SGN  )     ((x) < 0 ? -1 : 1)
 


Typedef Documentation

typedef struct player_khepera_geom player_khepera_geom_t
 


Generated on Tue May 3 14:15:40 2005 for Player by doxygen 1.3.6