Variables
joystick.cpp File Reference
#include "joystick.h"
#include "linux/joystick.h"
#include <unistd.h>
#include <fcntl.h>
Include dependency graph for joystick.cpp:

Go to the source code of this file.

Variables

const int ARM_X_AXIS = 4
const int ARM_Y_AXIS = 5
const int DRIVE_ENABLE = 0
const int DRIVE_X_AXIS = 0
const int DRIVE_Y_AXIS = 1
const int GRIPPER_AXIS = 3
const char * JOY_DEV = "/dev/input/js0"
const int MS_50 = 50000
const int WRIST_AXIS = 2

Variable Documentation

const int ARM_X_AXIS = 4

Definition at line 22 of file joystick.cpp.

const int ARM_Y_AXIS = 5

Definition at line 23 of file joystick.cpp.

const int DRIVE_ENABLE = 0

tells whether or not the drive is enabled

Definition at line 28 of file joystick.cpp.

const int DRIVE_X_AXIS = 0

specifies which joystick axis is X

Definition at line 18 of file joystick.cpp.

const int DRIVE_Y_AXIS = 1

specifies which joystick axis is Y

Definition at line 20 of file joystick.cpp.

const int GRIPPER_AXIS = 3

Definition at line 25 of file joystick.cpp.

const char* JOY_DEV = "/dev/input/js0"

the joystick device

Definition at line 13 of file joystick.cpp.

const int MS_50 = 50000

50 milliseconds

Definition at line 15 of file joystick.cpp.

const int WRIST_AXIS = 2

Definition at line 24 of file joystick.cpp.



corobot_teleop
Author(s): Morgan Cormier/Gang Li/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:39:41