Public Member Functions | Public Attributes
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.


Constructor & Destructor Documentation

Definition at line 53 of file joint_states_listener.py.


Member Function Documentation

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

Definition at line 84 of file joint_states_listener.py.

thread function: listen for joint_states messages

Definition at line 78 of file joint_states_listener.py.

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.

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 53 of file joint_states_listener.py.

Definition at line 53 of file joint_states_listener.py.

Definition at line 53 of file joint_states_listener.py.

Definition at line 53 of file joint_states_listener.py.

Definition at line 53 of file joint_states_listener.py.

Definition at line 53 of file joint_states_listener.py.


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


pr2_gripper_reactive_approach
Author(s): Kaijen Hsiao
autogenerated on Mon Oct 6 2014 12:27:12