Classes | Functions | Variables
pr2_overhead_grasping::perception_monitor Namespace Reference

Classes

class  ArmPerceptionMonitor
 Monitors perception channels on the robot arms. More...
class  FastGaussConvolve

Functions

def accel_state_processor
 Processes the AccelerometerState message, returning an average of the sample values and the timestamp in nanoseconds.
def joints_state_processor
 Callback for /joint_states topic.
def main
def pressure_state_processor
def pressure_state_sum_processor

Variables

list joint_nm_list
list l_jt_idx_list = [29, 30, 28, 32, 31, 33, 34]
list r_jt_idx_list = [17, 18, 16, 20, 19, 21, 22]

Function Documentation

Processes the AccelerometerState message, returning an average of the sample values and the timestamp in nanoseconds.

Parameters:
msgAccelometerState message
Returns:
(t, (x, y, z))

Definition at line 104 of file pr2_overhead_grasping/src/pr2_overhead_grasping/perception_monitor.py.

def pr2_overhead_grasping.perception_monitor.joints_state_processor (   msg,
  right_arm = True,
  angles_velocities_efforts = 0 
)

Callback for /joint_states topic.

Updates current joint angles and efforts for the arms constantly

Parameters:
dataJointState message recieved from the /joint_states topic

Definition at line 125 of file pr2_overhead_grasping/src/pr2_overhead_grasping/perception_monitor.py.

def pr2_overhead_grasping.perception_monitor.pressure_state_processor (   msg,
  right_finger_tip = True,
  indicies = None 
)
def pr2_overhead_grasping.perception_monitor.pressure_state_sum_processor (   msg,
  right_finger_tip = True,
  indicies = None 
)

Variable Documentation

Initial value:
00001 ['shoulder_pan', 'shoulder_lift', 'upper_arm_roll',
00002                  'elbow_flex', 'forearm_roll', 'wrist_flex',
00003                  'wrist_roll']

Definition at line 117 of file pr2_overhead_grasping/src/pr2_overhead_grasping/perception_monitor.py.



kelsey_sandbox
Author(s): kelsey
autogenerated on Wed Nov 27 2013 11:52:04