$search
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 |
| def teleop_twist_keyboard::getKey | ( | ) |
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.
| tuple teleop_twist_keyboard::key = getKey() |
Definition at line 72 of file teleop_twist_keyboard.py.
| dictionary teleop_twist_keyboard::moveBindings |
{
'i':(1,0),
'o':(1,-1),
'j':(0,1),
'l':(0,-1),
'u':(1,1),
',':(-1,0),
'.':(-1,1),
'm':(-1,-1),
}
Definition at line 25 of file teleop_twist_keyboard.py.
| string teleop_twist_keyboard::msg |
""" Reading from the keyboard and Publishing to Twist! --------------------------- Moving around: u i o j k l m , . q/z : increase/decrease max speeds by 10% w/x : increase/decrease only linear speed by 10% e/c : increase/decrease only angular speed by 10% anything else : stop CTRL-C to quit """
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.
| list teleop_twist_keyboard::speed = 5 |
Definition at line 52 of file teleop_twist_keyboard.py.
| dictionary teleop_twist_keyboard::speedBindings |
{
'q':(1.1,1.1),
'z':(.9,.9),
'w':(1.1,1),
'x':(.9,1),
'e':(1,1.1),
'c':(1,.9),
}
Definition at line 36 of file teleop_twist_keyboard.py.
| tuple teleop_twist_keyboard::status = 0 |
Definition at line 66 of file teleop_twist_keyboard.py.
| int teleop_twist_keyboard::th = 0 |
Definition at line 65 of file teleop_twist_keyboard.py.
| list teleop_twist_keyboard::turn = 1 |
Definition at line 53 of file teleop_twist_keyboard.py.
| tuple teleop_twist_keyboard::twist = Twist() |
Definition at line 90 of file teleop_twist_keyboard.py.
| int teleop_twist_keyboard::x = 0 |
Definition at line 64 of file teleop_twist_keyboard.py.