Functions | Variables
keyboard_teleop Namespace Reference

Functions

def getKey
def vels

Variables

float acc = 0.1
int control_speed = 0
int control_turn = 0
int count = 0
tuple key = getKey()
dictionary moveBindings
string msg
tuple pub = rospy.Publisher('~cmd_vel', Twist)
tuple settings = termios.tcgetattr(sys.stdin)
int speed = 2
dictionary speedBindings
int status = 0
int target_speed = 0
int target_turn = 0
int th = 0
int turn = 1
tuple twist = Twist()
int x = 0

Function Documentation

Definition at line 73 of file keyboard_teleop.py.

def keyboard_teleop.vels (   speed,
  turn 
)

Definition at line 87 of file keyboard_teleop.py.


Variable Documentation

float keyboard_teleop::acc = 0.1

Definition at line 100 of file keyboard_teleop.py.

Definition at line 103 of file keyboard_teleop.py.

Definition at line 104 of file keyboard_teleop.py.

Definition at line 99 of file keyboard_teleop.py.

Definition at line 109 of file keyboard_teleop.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 53 of file keyboard_teleop.py.

Initial value:
00001 """
00002 Control Your Turtlebot!
00003 ---------------------------
00004 Moving around:
00005    u    i    o
00006    j    k    l
00007    m    ,    .
00008 q/z : increase/decrease max speeds by 10%
00009 w/x : increase/decrease only linear speed by 10%
00010 e/c : increase/decrease only angular speed by 10%
00011 space key, k : force stop
00012 anything else : stop smoothly
00013 CTRL-C to quit
00014 """

Definition at line 38 of file keyboard_teleop.py.

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

Definition at line 94 of file keyboard_teleop.py.

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

Definition at line 91 of file keyboard_teleop.py.

Definition at line 84 of file keyboard_teleop.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 64 of file keyboard_teleop.py.

Definition at line 98 of file keyboard_teleop.py.

Definition at line 101 of file keyboard_teleop.py.

Definition at line 102 of file keyboard_teleop.py.

Definition at line 97 of file keyboard_teleop.py.

Definition at line 85 of file keyboard_teleop.py.

tuple keyboard_teleop::twist = Twist()

Definition at line 153 of file keyboard_teleop.py.

Definition at line 96 of file keyboard_teleop.py.



gapter
Author(s):
autogenerated on Thu Jun 6 2019 22:05:14