Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
key_teleop.SimpleKeyTeleop Class Reference

List of all members.

Public Member Functions

def __init__
def run

Static Public Attributes

dictionary movement_bindings

Private Member Functions

def _get_twist
def _key_pressed
def _publish
def _set_velocity

Private Attributes

 _angular
 _backward_rate
 _forward_rate
 _hz
 _interface
 _last_pressed
 _linear
 _pub_cmd
 _rotation_rate
 _running

Detailed Description

Definition at line 178 of file key_teleop.py.


Constructor & Destructor Documentation

def key_teleop.SimpleKeyTeleop.__init__ (   self,
  interface 
)

Definition at line 179 of file key_teleop.py.


Member Function Documentation

def key_teleop.SimpleKeyTeleop._get_twist (   self,
  linear,
  angular 
) [private]

Definition at line 212 of file key_teleop.py.

def key_teleop.SimpleKeyTeleop._key_pressed (   self,
  keycode 
) [private]

Definition at line 238 of file key_teleop.py.

def key_teleop.SimpleKeyTeleop._publish (   self) [private]

Definition at line 245 of file key_teleop.py.

def key_teleop.SimpleKeyTeleop._set_velocity (   self) [private]

Definition at line 218 of file key_teleop.py.

Definition at line 199 of file key_teleop.py.


Member Data Documentation

Definition at line 179 of file key_teleop.py.

Definition at line 179 of file key_teleop.py.

Definition at line 179 of file key_teleop.py.

Definition at line 179 of file key_teleop.py.

Definition at line 179 of file key_teleop.py.

Definition at line 179 of file key_teleop.py.

Definition at line 179 of file key_teleop.py.

Definition at line 179 of file key_teleop.py.

Definition at line 179 of file key_teleop.py.

Definition at line 199 of file key_teleop.py.

Initial value:
{
        curses.KEY_UP:    ( 1,  0),
        curses.KEY_DOWN:  (-1,  0),
        curses.KEY_LEFT:  ( 0,  1),
        curses.KEY_RIGHT: ( 0, -1),
    }

Definition at line 192 of file key_teleop.py.


The documentation for this class was generated from the following file:


key_teleop
Author(s): Siegfried-A. Gevatter Pujals
autogenerated on Thu Jun 6 2019 20:38:19