Public Member Functions | Private Member Functions
baxter_external_devices.joystick.XboxController Class Reference
Inheritance diagram for baxter_external_devices.joystick.XboxController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__

Private Member Functions

def _on_joy

Detailed Description

Xbox specialization of Joystick.

Definition at line 187 of file joystick.py.


Constructor & Destructor Documentation

def baxter_external_devices.joystick.XboxController.__init__ (   self,
  scale = 1.0,
  offset = 0.0,
  deadband = 0.5 
)
Maps joystick input to robot control.

@type scale: float
@param scale: scaling applied to joystick values [1.0]
@type offset: float
@param offset: joystick offset values, post-scaling [0.0]
@type deadband: float
@param deadband: deadband post scaling and offset [0.1]

Raw joystick valuess are in [1.0...-1.0].

Reimplemented from baxter_external_devices.joystick.Joystick.

Definition at line 191 of file joystick.py.


Member Function Documentation

def baxter_external_devices.joystick.XboxController._on_joy (   self,
  msg 
) [private]
callback for messages from joystick input
Args:
      msg(Joy): a joystick input message

Reimplemented from baxter_external_devices.joystick.Joystick.

Definition at line 194 of file joystick.py.


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


baxter_examples
Author(s): Rethink Robotics Inc.
autogenerated on Sat Jun 8 2019 20:16:28