Variables
keyboard_teleop Namespace Reference

Variables

 ch = sys.stdin.read(1)
 
int drive = 0
 
 fd = sys.stdin.fileno()
 
int KEY_DOWN = 66
 
int KEY_LEFT = 68
 
int KEY_Q = 81
 
int KEY_Q2 = 113
 
int KEY_RIGHT = 67
 
int KEY_S = 83
 
int KEY_S2 = 115
 
int KEY_UP = 65
 
int keyPress = 0
 
int linearDirection = 0
 
int linearSpeed = 0
 
float MAX_ROTATIONAL_SPEED = 0.3
 
float MAX_SPEED = 0.4
 benda.nosp@m.hman.nosp@m.e.ami.nosp@m.ne@g.nosp@m.mail..nosp@m.com ## last update : Jan 31st, 2016 ## More...
 
float MOVE_TIME = 0.01
 
float newLinearSpeed = linearSpeed+linearDirection*0.1
 
float newRotationalSpeed = rotationalSpeed+rotationalDirection*0.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.0
 
 t1 = time.time()
 
 t2 = t1
 
 twist = Twist()
 
 x
 
 z
 

Variable Documentation

keyboard_teleop.ch = sys.stdin.read(1)

Definition at line 64 of file keyboard_teleop.py.

int keyboard_teleop.drive = 0

Definition at line 70 of file keyboard_teleop.py.

keyboard_teleop.fd = sys.stdin.fileno()

Definition at line 60 of file keyboard_teleop.py.

int keyboard_teleop.KEY_DOWN = 66

Definition at line 29 of file keyboard_teleop.py.

int keyboard_teleop.KEY_LEFT = 68

Definition at line 31 of file keyboard_teleop.py.

int keyboard_teleop.KEY_Q = 81

Definition at line 32 of file keyboard_teleop.py.

int keyboard_teleop.KEY_Q2 = 113

Definition at line 33 of file keyboard_teleop.py.

int keyboard_teleop.KEY_RIGHT = 67

Definition at line 30 of file keyboard_teleop.py.

int keyboard_teleop.KEY_S = 83

Definition at line 34 of file keyboard_teleop.py.

int keyboard_teleop.KEY_S2 = 115

Definition at line 35 of file keyboard_teleop.py.

int keyboard_teleop.KEY_UP = 65

Definition at line 28 of file keyboard_teleop.py.

string keyboard_teleop.keyPress = 0

Definition at line 41 of file keyboard_teleop.py.

int keyboard_teleop.linearDirection = 0

Definition at line 42 of file keyboard_teleop.py.

float keyboard_teleop.linearSpeed = 0

Definition at line 44 of file keyboard_teleop.py.

float keyboard_teleop.MAX_ROTATIONAL_SPEED = 0.3

Definition at line 12 of file keyboard_teleop.py.

float keyboard_teleop.MAX_SPEED = 0.4

benda.nosp@m.hman.nosp@m.e.ami.nosp@m.ne@g.nosp@m.mail..nosp@m.com ## last update : Jan 31st, 2016 ##

Description: This program transforms the inputs ## from the keyboard to velocity commands. ##

Definition at line 11 of file keyboard_teleop.py.

float keyboard_teleop.MOVE_TIME = 0.01

Definition at line 36 of file keyboard_teleop.py.

float keyboard_teleop.newLinearSpeed = linearSpeed+linearDirection*0.1

Definition at line 90 of file keyboard_teleop.py.

float keyboard_teleop.newRotationalSpeed = rotationalSpeed+rotationalDirection*0.1

Definition at line 91 of file keyboard_teleop.py.

keyboard_teleop.old_settings = termios.tcgetattr(fd)

Definition at line 61 of file keyboard_teleop.py.

keyboard_teleop.pub = rospy.Publisher('cmd_vel', Twist, queue_size=10)

Definition at line 48 of file keyboard_teleop.py.

int keyboard_teleop.rotationalDirection = 0

Definition at line 43 of file keyboard_teleop.py.

float keyboard_teleop.rotationalSpeed = 0.0

Definition at line 40 of file keyboard_teleop.py.

float keyboard_teleop.speed = 0.0

Definition at line 39 of file keyboard_teleop.py.

keyboard_teleop.t1 = time.time()

Definition at line 109 of file keyboard_teleop.py.

keyboard_teleop.t2 = t1

Definition at line 110 of file keyboard_teleop.py.

keyboard_teleop.twist = Twist()

Definition at line 49 of file keyboard_teleop.py.

keyboard_teleop.x

Definition at line 107 of file keyboard_teleop.py.

keyboard_teleop.z

Definition at line 108 of file keyboard_teleop.py.



pioneer_teleop
Author(s): Amine BENDAHMANE
autogenerated on Mon Jun 10 2019 14:16:37