Functions | |
def | get_current_key () |
def | send_cmd (key) |
def | signal_handler (signal, frame) |
def | update_speed (odom) |
Variables | |
anonymous | |
cmd_pub = rospy.Publisher('/cmd_vel', Twist, queue_size=0) | |
string | CURRENT_KEY = "" |
CURRENT_ODOM = Odometry() | |
list | DOWN_KEY = [27, 91, 66] |
fd = sys.stdin.fileno() | |
list | KEY_CACHE = [] |
list | LEFT_KEY = [27, 91, 68] |
new_attr = termios.tcgetattr(fd) | |
old_flags = fcntl.fcntl(fd, fcntl.F_GETFL) | |
old_term = termios.tcgetattr(fd) | |
rate = rospy.Rate(5) | |
list | RIGHT_KEY = [27, 91, 67] |
list | UP_KEY = [27, 91, 65] |
def controller.get_current_key | ( | ) |
Definition at line 76 of file controller.py.
def controller.send_cmd | ( | key | ) |
Definition at line 59 of file controller.py.
def controller.signal_handler | ( | signal, | |
frame | |||
) |
Definition at line 39 of file controller.py.
def controller.update_speed | ( | odom | ) |
Definition at line 55 of file controller.py.
controller.anonymous |
Definition at line 106 of file controller.py.
controller.cmd_pub = rospy.Publisher('/cmd_vel', Twist, queue_size=0) |
Definition at line 125 of file controller.py.
string controller.CURRENT_KEY = "" |
Definition at line 46 of file controller.py.
controller.CURRENT_ODOM = Odometry() |
Definition at line 47 of file controller.py.
list controller.DOWN_KEY = [27, 91, 66] |
Definition at line 50 of file controller.py.
controller.fd = sys.stdin.fileno() |
Definition at line 115 of file controller.py.
list controller.KEY_CACHE = [] |
Definition at line 48 of file controller.py.
list controller.LEFT_KEY = [27, 91, 68] |
Definition at line 51 of file controller.py.
controller.new_attr = termios.tcgetattr(fd) |
Definition at line 118 of file controller.py.
controller.old_flags = fcntl.fcntl(fd, fcntl.F_GETFL) |
Definition at line 122 of file controller.py.
controller.old_term = termios.tcgetattr(fd) |
Definition at line 117 of file controller.py.
controller.rate = rospy.Rate(5) |
Definition at line 130 of file controller.py.
list controller.RIGHT_KEY = [27, 91, 67] |
Definition at line 52 of file controller.py.
list controller.UP_KEY = [27, 91, 65] |
Definition at line 49 of file controller.py.