|
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.
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 KHEPERA_COMMAND_PROMPT "\r\n"
|
|
#define ABS |
( |
x |
|
) |
((x) < 0 ? -(x) : (x))
|
|
#define SGN |
( |
x |
|
) |
((x) < 0 ? -1 : 1)
|
|
Typedef Documentation
Generated on Tue May 3 14:15:40 2005 for Player by 1.3.6
|