Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
teleop_key.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

 _backward_rate
 _forward_rate
 _hz
 _interface
 _last_pressed
 _left_rate
 _linearX
 _linearY
 _pub_cmd
 _rigth_rate
 _running

Detailed Description

Definition at line 186 of file teleop_key.py.


Constructor & Destructor Documentation

def teleop_key.SimpleKeyTeleop.__init__ (   self,
  interface 
)

Definition at line 187 of file teleop_key.py.


Member Function Documentation

def teleop_key.SimpleKeyTeleop._get_twist (   self,
  linearX,
  linearY 
) [private]

Definition at line 223 of file teleop_key.py.

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

Definition at line 256 of file teleop_key.py.

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

Definition at line 263 of file teleop_key.py.

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

Definition at line 229 of file teleop_key.py.

Definition at line 210 of file teleop_key.py.


Member Data Documentation

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 187 of file teleop_key.py.

Definition at line 210 of file teleop_key.py.

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

Definition at line 203 of file teleop_key.py.


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


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