(self, vel_scale_x=.4, vel_scale_y=.4, vel_scale_rot=1.)
Initialize the gamepad controller.
    Args:
      vel_scale_x: maximum absolute x-velocity command.
      vel_scale_y: maximum absolute y-velocity command.
      vel_scale_rot: maximum absolute yaw-dot command.
Initialize the gamepad controller.
    Args:
      vel_scale_x: maximum absolute x-velocity command.
      vel_scale_y: maximum absolute y-velocity command.
      vel_scale_rot: maximum absolute yaw-dot command.
Initialize the gamepad controller . Args : vel_scale_x : maximum absolute x - velocity command . vel_scale_y : maximum absolute y - velocity command . vel_scale_rot : maximum absolute yaw - dot command .
def __init__(self, vel_scale_x=.4, vel_scale_y=.4, vel_scale_rot=1.):
    """Initialize the gamepad controller.
    Args:
      vel_scale_x: maximum absolute x-velocity command.
      vel_scale_y: maximum absolute y-velocity command.
      vel_scale_rot: maximum absolute yaw-dot command.
    """
    self._vel_scale_x = vel_scale_x
    self._vel_scale_y = vel_scale_y
    self._vel_scale_rot = vel_scale_rot
    self._lb_pressed = False
    self._rb_pressed = False

    # Controller states
    self.vx, self.vy, self.wz = 0., 0., 0.
    self.estop_flagged = False
    self.is_running = True

    self.read_thread = threading.Thread(target=self.read_loop)
    self.read_thread.start()
def __init__ ( self , vel_scale_x = .4 , vel_scale_y = .4 , vel_scale_rot = 1. ) : self . _vel_scale_x = vel_scale_x self . _vel_scale_y = vel_scale_y self . _vel_scale_rot = vel_scale_rot self . _lb_pressed = False self . _rb_pressed = False # Controller states self . vx , self . vy , self . wz = 0. , 0. , 0. self . estop_flagged = False self . is_running = True self . read_thread = threading . Thread ( target = self . read_loop ) self . read_thread . start ( )