Public Member Functions | |
def | __call__ |
def | __init__ |
Private Attributes | |
_max | |
_min | |
_num_steps | |
_step_incr |
Definition at line 18 of file teleop_key.py.
def teleop_key.Velocity.__init__ | ( | self, | |
min_velocity, | |||
max_velocity, | |||
num_steps | |||
) |
Definition at line 20 of file teleop_key.py.
def teleop_key.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 31 of file teleop_key.py.
teleop_key.Velocity::_max [private] |
Definition at line 20 of file teleop_key.py.
teleop_key.Velocity::_min [private] |
Definition at line 20 of file teleop_key.py.
teleop_key.Velocity::_num_steps [private] |
Definition at line 20 of file teleop_key.py.
teleop_key.Velocity::_step_incr [private] |
Definition at line 20 of file teleop_key.py.