Public Member Functions | Private Attributes | List of all members
key_teleop.Velocity Class Reference
Inheritance diagram for key_teleop.Velocity:
Inheritance graph
[legend]

Public Member Functions

def __call__ (self, value, step)
 
def __init__ (self, min_velocity, max_velocity, num_steps)
 

Private Attributes

 _max
 
 _min
 
 _num_steps
 
 _step_incr
 

Detailed Description

Definition at line 16 of file key_teleop.py.

Constructor & Destructor Documentation

def key_teleop.Velocity.__init__ (   self,
  min_velocity,
  max_velocity,
  num_steps 
)

Definition at line 18 of file key_teleop.py.

Member Function Documentation

def key_teleop.Velocity.__call__ (   self,
  value,
  step 
)
Takes a value in the range [0, 1] and the step and returns the
velocity (usually m/s or rad/s).

Definition at line 29 of file key_teleop.py.

Member Data Documentation

key_teleop.Velocity._max
private

Definition at line 21 of file key_teleop.py.

key_teleop.Velocity._min
private

Definition at line 20 of file key_teleop.py.

key_teleop.Velocity._num_steps
private

Definition at line 22 of file key_teleop.py.

key_teleop.Velocity._step_incr
private

Definition at line 24 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 Sat Jun 8 2019 17:58:56