|
| def | __call__ (self, value, step) |
| |
| def | __init__ (self, min_velocity, max_velocity, num_steps) |
| |
Definition at line 16 of file key_teleop.py.
◆ __init__()
| def key_teleop.Velocity.__init__ |
( |
|
self, |
|
|
|
min_velocity, |
|
|
|
max_velocity, |
|
|
|
num_steps |
|
) |
| |
◆ __call__()
| 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.
◆ _max
◆ _min
◆ _num_steps
| key_teleop.Velocity._num_steps |
|
private |
◆ _step_incr
| key_teleop.Velocity._step_incr |
|
private |
The documentation for this class was generated from the following file: