pr2_gripper_reactive_approach::joint_states_listener::LatestJointStates Class Reference

holds the latest states obtained from joint_states messages More...

List of all members.

Public Member Functions

def __init__
def joint_states_callback
 callback function: when a joint_states message arrives, save the values
def joint_states_listener
 thread function: listen for joint_states messages
def return_joint_state
 returns (found, position, velocity, effort) for the joint joint_name (found is 1 if found, 0 otherwise)
def return_joint_states
 return the positions, velocities, and efforts for a list of joint names

Public Attributes

 effort
 lock
 name
 position
 thread
 velocity

Detailed Description

holds the latest states obtained from joint_states messages

Definition at line 51 of file joint_states_listener.py.


Member Function Documentation

def pr2_gripper_reactive_approach::joint_states_listener::LatestJointStates::__init__ (   self,
  run_server = 0 
)

Definition at line 53 of file joint_states_listener.py.

def pr2_gripper_reactive_approach::joint_states_listener::LatestJointStates::joint_states_callback (   self,
  msg 
)

callback function: when a joint_states message arrives, save the values

Definition at line 84 of file joint_states_listener.py.

def pr2_gripper_reactive_approach::joint_states_listener::LatestJointStates::joint_states_listener (   self  ) 

thread function: listen for joint_states messages

Definition at line 78 of file joint_states_listener.py.

def pr2_gripper_reactive_approach::joint_states_listener::LatestJointStates::return_joint_state (   self,
  joint_name 
)

returns (found, position, velocity, effort) for the joint joint_name (found is 1 if found, 0 otherwise)

Definition at line 95 of file joint_states_listener.py.

def pr2_gripper_reactive_approach::joint_states_listener::LatestJointStates::return_joint_states (   self,
  joint_list 
)

return the positions, velocities, and efforts for a list of joint names

Definition at line 127 of file joint_states_listener.py.


Member Data Documentation

Definition at line 58 of file joint_states_listener.py.

Definition at line 54 of file joint_states_listener.py.

Definition at line 55 of file joint_states_listener.py.

Definition at line 56 of file joint_states_listener.py.

Definition at line 59 of file joint_states_listener.py.

Definition at line 57 of file joint_states_listener.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


pr2_gripper_reactive_approach
Author(s): Kaijen Hsiao
autogenerated on Fri Jan 11 09:11:28 2013