Public Member Functions | Public Attributes
korg_nanokontrol.korg.KorgNanoKontrol Class Reference

List of all members.

Public Member Functions

def __init__
def clip
def finish
def guess_mode
def pub_data
def set_mode
def update

Public Attributes

 center_axis
 controller
 mode
 modes
 msg
 pub

Detailed Description

Class to connect to and publish the Korg NanoKontrol midi device
    as a ros joystick

Definition at line 18 of file korg.py.


Constructor & Destructor Documentation

connect to midi device and set up ros

Definition at line 24 of file korg.py.


Member Function Documentation

def korg_nanokontrol.korg.KorgNanoKontrol.clip (   self,
  min,
  max,
  val 
)

Definition at line 110 of file korg.py.

Definition at line 59 of file korg.py.

Given data, try to guess the mode we are in

Definition at line 82 of file korg.py.

Given data, interpret into Joy message and publish

Definition at line 117 of file korg.py.

Set up the message for the correct mode

Definition at line 73 of file korg.py.

run the update hook (poll the midi controller, publish the message)

Definition at line 63 of file korg.py.


Member Data Documentation

Definition at line 25 of file korg.py.

Definition at line 25 of file korg.py.

Definition at line 25 of file korg.py.

Definition at line 25 of file korg.py.

Definition at line 25 of file korg.py.

Definition at line 25 of file korg.py.


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


korg_nanokontrol
Author(s): Austin Hendrix, Allison Thackston
autogenerated on Thu Jun 6 2019 20:12:12