Files | |
file | joyctrl.h |
Library for using joysticks. | |
Data Structures | |
struct | carmen_joystick_type |
Defines | |
#define | CARMEN_JOYSTICK_DEVICE "/dev/js0" |
#define | CARMEN_JOYSTICK_DEADSPOT 1 |
#define | CARMEN_JOYSTICK_DEADSPOT_SIZE 0.2 |
Functions | |
void | carmen_set_deadspot (carmen_joystick_type *joystick, int on_off, double size) |
int | carmen_initialize_joystick (carmen_joystick_type *joystick) |
int | carmen_get_joystick_state (carmen_joystick_type *joystick) |
void | carmen_close_joystick (carmen_joystick_type *joystick) |
void | carmen_joystick_control (carmen_joystick_type *joystick, double max_tv, double max_rv, double *tv, double *rv) |
The module joystick provides joystick support to control the robot.