Variables | |
ch = sys.stdin.read(1) | |
int | drive = 0 |
fd = sys.stdin.fileno() | |
int | KEY_DOWN = 66 |
int | KEY_LEFT = 68 |
int | KEY_MINUS = 45 |
int | KEY_PLUS = 43 |
int | KEY_Q = 81 |
int | KEY_Q2 = 113 |
int | KEY_RIGHT = 67 |
int | KEY_UP = 65 |
int | keyPress = 0 |
int | linearDirection = 0 |
float | MAX_ROTATIONAL_SPEED = 0.3 |
float | MAX_SPEED = 0.3 |
benda ## last update : Jan 31st, 2016 ## hman e.ami ne@g mail. comMore... | |
int | MOVE_TIME = 1 |
old_settings = termios.tcgetattr(fd) | |
pub = rospy.Publisher('cmd_vel', Twist, queue_size=10) | |
int | rotationalDirection = 0 |
float | rotationalSpeed = 0.0 |
float | speed = 0.1 |
t1 = time.time() | |
t2 = t1 | |
twist = Twist() | |
x | |
z | |
discrete_keyboard_teleop.ch = sys.stdin.read(1) |
Definition at line 62 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.drive = 0 |
Definition at line 68 of file discrete_keyboard_teleop.py.
discrete_keyboard_teleop.fd = sys.stdin.fileno() |
Definition at line 58 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.KEY_DOWN = 66 |
Definition at line 30 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.KEY_LEFT = 68 |
Definition at line 32 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.KEY_MINUS = 45 |
Definition at line 34 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.KEY_PLUS = 43 |
Definition at line 33 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.KEY_Q = 81 |
Definition at line 35 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.KEY_Q2 = 113 |
Definition at line 36 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.KEY_RIGHT = 67 |
Definition at line 31 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.KEY_UP = 65 |
Definition at line 29 of file discrete_keyboard_teleop.py.
string discrete_keyboard_teleop.keyPress = 0 |
Definition at line 41 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.linearDirection = 0 |
Definition at line 42 of file discrete_keyboard_teleop.py.
float discrete_keyboard_teleop.MAX_ROTATIONAL_SPEED = 0.3 |
Definition at line 13 of file discrete_keyboard_teleop.py.
float discrete_keyboard_teleop.MAX_SPEED = 0.3 |
benda ## last update : Jan 31st, 2016 ## hman e.ami ne@g mail. com
Description: This program transforms the inputs ## from the keyboard to discrete velocity commands ## (by default, the robot moves for 1 second only) ##
Definition at line 12 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.MOVE_TIME = 1 |
Definition at line 14 of file discrete_keyboard_teleop.py.
discrete_keyboard_teleop.old_settings = termios.tcgetattr(fd) |
Definition at line 59 of file discrete_keyboard_teleop.py.
discrete_keyboard_teleop.pub = rospy.Publisher('cmd_vel', Twist, queue_size=10) |
Definition at line 46 of file discrete_keyboard_teleop.py.
int discrete_keyboard_teleop.rotationalDirection = 0 |
Definition at line 43 of file discrete_keyboard_teleop.py.
float discrete_keyboard_teleop.rotationalSpeed = 0.0 |
Definition at line 40 of file discrete_keyboard_teleop.py.
float discrete_keyboard_teleop.speed = 0.1 |
Definition at line 39 of file discrete_keyboard_teleop.py.
discrete_keyboard_teleop.t1 = time.time() |
Definition at line 106 of file discrete_keyboard_teleop.py.
discrete_keyboard_teleop.t2 = t1 |
Definition at line 107 of file discrete_keyboard_teleop.py.
discrete_keyboard_teleop.twist = Twist() |
Definition at line 47 of file discrete_keyboard_teleop.py.
discrete_keyboard_teleop.x |
Definition at line 103 of file discrete_keyboard_teleop.py.
discrete_keyboard_teleop.z |
Definition at line 104 of file discrete_keyboard_teleop.py.