Functions | Variables
teleop_twist_keyboard Namespace Reference

Functions

def getKey
def vels

Variables

tuple key = getKey()
dictionary moveBindings
string msg
tuple pub = rospy.Publisher('cmd_vel', Twist)
tuple settings = termios.tcgetattr(sys.stdin)
int speed = 5
dictionary speedBindings
int status = 0
int th = 0
int turn = 1
tuple twist = Twist()
int x = 0

Function Documentation

Definition at line 45 of file teleop_twist_keyboard.py.

def teleop_twist_keyboard.vels (   speed,
  turn 
)

Definition at line 55 of file teleop_twist_keyboard.py.


Variable Documentation

Definition at line 72 of file teleop_twist_keyboard.py.

Initial value:
00001 {
00002                 'i':(1,0),
00003                 'o':(1,-1),
00004                 'j':(0,1),
00005                 'l':(0,-1),
00006                 'u':(1,1),
00007                 ',':(-1,0),
00008                 '.':(-1,1),
00009                 'm':(-1,-1),
00010                }

Definition at line 25 of file teleop_twist_keyboard.py.

Initial value:
00001 """
00002 Reading from the keyboard  and Publishing to Twist!
00003 ---------------------------
00004 Moving around:
00005    u    i    o
00006    j    k    l
00007    m    ,    .
00008 
00009 q/z : increase/decrease max speeds by 10%
00010 w/x : increase/decrease only linear speed by 10%
00011 e/c : increase/decrease only angular speed by 10%
00012 anything else : stop
00013 
00014 CTRL-C to quit
00015 """

Definition at line 9 of file teleop_twist_keyboard.py.

tuple teleop_twist_keyboard::pub = rospy.Publisher('cmd_vel', Twist)

Definition at line 61 of file teleop_twist_keyboard.py.

tuple teleop_twist_keyboard::settings = termios.tcgetattr(sys.stdin)

Definition at line 59 of file teleop_twist_keyboard.py.

Definition at line 52 of file teleop_twist_keyboard.py.

Initial value:
00001 {
00002                 'q':(1.1,1.1),
00003                 'z':(.9,.9),
00004                 'w':(1.1,1),
00005                 'x':(.9,1),
00006                 'e':(1,1.1),
00007                 'c':(1,.9),
00008               }

Definition at line 36 of file teleop_twist_keyboard.py.

Definition at line 66 of file teleop_twist_keyboard.py.

Definition at line 65 of file teleop_twist_keyboard.py.

Definition at line 53 of file teleop_twist_keyboard.py.

Definition at line 90 of file teleop_twist_keyboard.py.

Definition at line 64 of file teleop_twist_keyboard.py.



teleop_twist_keyboard
Author(s): Graylin Trevor Jay
autogenerated on Sun Oct 5 2014 22:40:46