Public Member Functions | Public Attributes | Static Public Attributes | List of all members
jsk_teleop_joy.joy.JoyManager Class Reference

Public Member Functions

def __init__ (self, plugin_package="jsk_teleop_joy")
 
def forceToPluginMenu (self, publish_menu=False)
 
def joyCB (self, msg)
 
def loadPlugins (self)
 
def nextPlugin (self)
 
def pluginStatusDiagnostic (self, stat)
 
def processMenuMode (self, status, history)
 
def publishMenu (self, index, close=False)
 
def start (self)
 
def stateDiagnostic (self, stat)
 
def switchPlugin (self, index)
 

Public Attributes

 controller_type
 
 current_plugin
 
 current_plugin_index
 
 diagnostic_updater
 
 history
 
 joy_subscriber
 
 JoyStatus
 
 menu_pub
 
 mode
 
 plugin_instances
 
 plugin_manager
 
 plugins
 
 pre_status
 
 selecting_plugin_index
 
 state
 

Static Public Attributes

int mode = 0
 
int MODE_MENU = 1
 
int MODE_PLUGIN = 0
 
list plugin_instances = []
 
int STATE_INITIALIZATION = 1
 
int STATE_RUNNING = 2
 
int STATE_WAIT_FOR_JOY = 3
 

Detailed Description

Definition at line 47 of file joy.py.

Constructor & Destructor Documentation

◆ __init__()

def jsk_teleop_joy.joy.JoyManager.__init__ (   self,
  plugin_package = "jsk_teleop_joy" 
)

Definition at line 77 of file joy.py.

Member Function Documentation

◆ forceToPluginMenu()

def jsk_teleop_joy.joy.JoyManager.forceToPluginMenu (   self,
  publish_menu = False 
)

Definition at line 156 of file joy.py.

◆ joyCB()

def jsk_teleop_joy.joy.JoyManager.joyCB (   self,
  msg 
)

Definition at line 181 of file joy.py.

◆ loadPlugins()

def jsk_teleop_joy.joy.JoyManager.loadPlugins (   self)

Definition at line 122 of file joy.py.

◆ nextPlugin()

def jsk_teleop_joy.joy.JoyManager.nextPlugin (   self)

Definition at line 134 of file joy.py.

◆ pluginStatusDiagnostic()

def jsk_teleop_joy.joy.JoyManager.pluginStatusDiagnostic (   self,
  stat 
)

Definition at line 69 of file joy.py.

◆ processMenuMode()

def jsk_teleop_joy.joy.JoyManager.processMenuMode (   self,
  status,
  history 
)

Definition at line 161 of file joy.py.

◆ publishMenu()

def jsk_teleop_joy.joy.JoyManager.publishMenu (   self,
  index,
  close = False 
)

Definition at line 148 of file joy.py.

◆ start()

def jsk_teleop_joy.joy.JoyManager.start (   self)

Definition at line 137 of file joy.py.

◆ stateDiagnostic()

def jsk_teleop_joy.joy.JoyManager.stateDiagnostic (   self,
  stat 
)

Definition at line 57 of file joy.py.

◆ switchPlugin()

def jsk_teleop_joy.joy.JoyManager.switchPlugin (   self,
  index 
)

Definition at line 125 of file joy.py.

Member Data Documentation

◆ controller_type

jsk_teleop_joy.joy.JoyManager.controller_type

Definition at line 82 of file joy.py.

◆ current_plugin

jsk_teleop_joy.joy.JoyManager.current_plugin

Definition at line 132 of file joy.py.

◆ current_plugin_index

jsk_teleop_joy.joy.JoyManager.current_plugin_index

Definition at line 84 of file joy.py.

◆ diagnostic_updater

jsk_teleop_joy.joy.JoyManager.diagnostic_updater

Definition at line 87 of file joy.py.

◆ history

jsk_teleop_joy.joy.JoyManager.history

Definition at line 80 of file joy.py.

◆ joy_subscriber

jsk_teleop_joy.joy.JoyManager.joy_subscriber

Definition at line 145 of file joy.py.

◆ JoyStatus

jsk_teleop_joy.joy.JoyManager.JoyStatus

Definition at line 94 of file joy.py.

◆ menu_pub

jsk_teleop_joy.joy.JoyManager.menu_pub

Definition at line 81 of file joy.py.

◆ mode [1/2]

int jsk_teleop_joy.joy.JoyManager.mode = 0
static

Definition at line 54 of file joy.py.

◆ mode [2/2]

jsk_teleop_joy.joy.JoyManager.mode

Definition at line 160 of file joy.py.

◆ MODE_MENU

int jsk_teleop_joy.joy.JoyManager.MODE_MENU = 1
static

Definition at line 53 of file joy.py.

◆ MODE_PLUGIN

int jsk_teleop_joy.joy.JoyManager.MODE_PLUGIN = 0
static

Definition at line 52 of file joy.py.

◆ plugin_instances [1/2]

list jsk_teleop_joy.joy.JoyManager.plugin_instances = []
static

Definition at line 56 of file joy.py.

◆ plugin_instances [2/2]

jsk_teleop_joy.joy.JoyManager.plugin_instances

Definition at line 124 of file joy.py.

◆ plugin_manager

jsk_teleop_joy.joy.JoyManager.plugin_manager

Definition at line 120 of file joy.py.

◆ plugins

jsk_teleop_joy.joy.JoyManager.plugins

Definition at line 83 of file joy.py.

◆ pre_status

jsk_teleop_joy.joy.JoyManager.pre_status

Definition at line 79 of file joy.py.

◆ selecting_plugin_index

jsk_teleop_joy.joy.JoyManager.selecting_plugin_index

Definition at line 85 of file joy.py.

◆ state

jsk_teleop_joy.joy.JoyManager.state

Definition at line 58 of file joy.py.

◆ STATE_INITIALIZATION

int jsk_teleop_joy.joy.JoyManager.STATE_INITIALIZATION = 1
static

Definition at line 48 of file joy.py.

◆ STATE_RUNNING

int jsk_teleop_joy.joy.JoyManager.STATE_RUNNING = 2
static

Definition at line 49 of file joy.py.

◆ STATE_WAIT_FOR_JOY

int jsk_teleop_joy.joy.JoyManager.STATE_WAIT_FOR_JOY = 3
static

Definition at line 50 of file joy.py.


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


jsk_teleop_joy
Author(s): Ryohei Ueda
autogenerated on Wed Jan 24 2024 04:05:49