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

Public Member Functions

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

Private Attributes

 _max
 
 _min
 
 _num_steps
 
 _step_incr
 

Detailed Description

Definition at line 21 of file joystick_relay.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 23 of file joystick_relay.py.

Member Function Documentation

◆ __call__()

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

Definition at line 34 of file joystick_relay.py.

Member Data Documentation

◆ _max

joystick_relay.Velocity._max
private

Definition at line 26 of file joystick_relay.py.

◆ _min

joystick_relay.Velocity._min
private

Definition at line 25 of file joystick_relay.py.

◆ _num_steps

joystick_relay.Velocity._num_steps
private

Definition at line 27 of file joystick_relay.py.

◆ _step_incr

joystick_relay.Velocity._step_incr
private

Definition at line 29 of file joystick_relay.py.


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


twist_mux
Author(s): Enrique Fernandez , Siegfried-A. Gevatter Pujals
autogenerated on Wed Oct 26 2022 02:18:09