Public Member Functions | |
def | __init__ |
Private Member Functions | |
def | _on_joy |
PS3 specialization of Joystick.
Definition at line 261 of file joystick.py.
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.
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.