|
reb.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 <reb_params.h>
Go to the source code of this file.
Define Documentation
#define REB_CONFIG_BUFFER_SIZE 1024
|
|
#define REB_BAUDRATE B38400
|
|
#define REB_DEFAULT_SERIAL_PORT "/dev/ttySA1"
|
|
#define REB_MOTOR_RIGHT 0
|
|
#define REB_BATTERY_CHANNEL 15
|
|
#define REB_FIXED_FACTOR 10000
|
|
#define REB_POS_MODE_STRAIGHT 0
|
|
#define REB_POS_MODE_ROTATION 1
|
|
#define REB_RESTART_COMMAND "restart\r\n"
|
|
#define REB_COMMAND_PROMPT ":\r\n"
|
|
#define ABS |
( |
x |
|
) |
((x) < 0 ? -(x) : (x))
|
|
#define SGN |
( |
x |
|
) |
((x) < 0 ? -1 : 1)
|
|
Generated on Tue May 3 14:15:43 2005 for Player by 1.3.6
|