Classes | Public Member Functions | Public Attributes
joy_teleop.JoyTeleop Class Reference

List of all members.

Classes

class  AsyncServiceProxy

Public Member Functions

def __init__
def add_command
def get_action_type
def get_message_type
def get_service_type
def joy_callback
def match_command
def register_action
def register_service
def register_topic
def run_action
def run_command
def run_service
def run_topic
def set_member
def update_actions

Public Attributes

 al_clients
 command_list
 message_types
 offline_actions
 offline_services
 old_buttons
 publishers
 service_types
 srv_clients

Detailed Description

Generic joystick teleoperation node.
Will not start without configuration, has to be stored in 'teleop' parameter.
See config/joy_teleop.yaml for an example.

Definition at line 18 of file joy_teleop.py.


Constructor & Destructor Documentation

Definition at line 24 of file joy_teleop.py.


Member Function Documentation

def joy_teleop.JoyTeleop.add_command (   self,
  name,
  command 
)
Add a command to the command list

Definition at line 140 of file joy_teleop.py.

def joy_teleop.JoyTeleop.get_action_type (   self,
  action_name 
)

Definition at line 249 of file joy_teleop.py.

def joy_teleop.JoyTeleop.get_message_type (   self,
  type_name 
)

Definition at line 235 of file joy_teleop.py.

def joy_teleop.JoyTeleop.get_service_type (   self,
  service_name 
)

Definition at line 255 of file joy_teleop.py.

def joy_teleop.JoyTeleop.joy_callback (   self,
  data 
)

Definition at line 63 of file joy_teleop.py.

def joy_teleop.JoyTeleop.match_command (   self,
  c,
  buttons 
)
Find a command matching a joystick configuration

Definition at line 133 of file joy_teleop.py.

def joy_teleop.JoyTeleop.register_action (   self,
  name,
  command 
)
Add an action client for a joystick command

Definition at line 81 of file joy_teleop.py.

def joy_teleop.JoyTeleop.register_service (   self,
  name,
  command 
)
Add an AsyncServiceProxy for a joystick command 

Definition at line 118 of file joy_teleop.py.

def joy_teleop.JoyTeleop.register_topic (   self,
  name,
  command 
)
Add a topic publisher for a joystick command

Definition at line 72 of file joy_teleop.py.

def joy_teleop.JoyTeleop.run_action (   self,
  c,
  joy_state 
)

Definition at line 211 of file joy_teleop.py.

def joy_teleop.JoyTeleop.run_command (   self,
  command,
  joy_state 
)
Run a joystick command

Definition at line 154 of file joy_teleop.py.

def joy_teleop.JoyTeleop.run_service (   self,
  c,
  joy_state 
)

Definition at line 217 of file joy_teleop.py.

def joy_teleop.JoyTeleop.run_topic (   self,
  c,
  joy_state 
)

Definition at line 181 of file joy_teleop.py.

def joy_teleop.JoyTeleop.set_member (   self,
  msg,
  member,
  value 
)

Definition at line 226 of file joy_teleop.py.

def joy_teleop.JoyTeleop.update_actions (   self,
  evt = None 
)

Definition at line 263 of file joy_teleop.py.


Member Data Documentation

Definition at line 24 of file joy_teleop.py.

Definition at line 24 of file joy_teleop.py.

Definition at line 24 of file joy_teleop.py.

Definition at line 24 of file joy_teleop.py.

Definition at line 24 of file joy_teleop.py.

Definition at line 24 of file joy_teleop.py.

Definition at line 24 of file joy_teleop.py.

Definition at line 24 of file joy_teleop.py.

Definition at line 24 of file joy_teleop.py.


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


joy_teleop
Author(s): Paul Mathieu
autogenerated on Thu Jun 6 2019 20:38:24