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

List of all members.

Public Member Functions

def __init__

Private Member Functions

def _on_joy

Detailed Description

PS3 specialization of Joystick.

Definition at line 261 of file joystick.py.


Constructor & Destructor Documentation

def baxter_external_devices.joystick.PS3Controller.__init__ (   self,
  scale = 1.0,
  offset = 0.0,
  deadband = 0.1 
)
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 265 of file joystick.py.


Member Function Documentation

def baxter_external_devices.joystick.PS3Controller._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 268 of file joystick.py.


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


baxter_examples
Author(s): Rethink Robotics Inc.
autogenerated on Thu Aug 27 2015 12:31:14