Public Member Functions | Public Attributes
pr2_playpen.pressure_writer.PressureWriter Class Reference

List of all members.

Public Member Functions

def __init__
def record_pressures
def status_callback
def zero

Public Attributes

 l_grip_data
 l_grip_press
 r_grip_data
 r_grip_press
 status

Detailed Description

Definition at line 8 of file pressure_writer.py.


Constructor & Destructor Documentation

Definition at line 10 of file pressure_writer.py.


Member Function Documentation

def pr2_playpen.pressure_writer.PressureWriter.record_pressures (   self,
  file_name,
  arm,
  time = 10:,
  file_handle = open(file_name, 'w',
  self,
  zero,
  start = rospy.get_time()         #might be better to do some condition,
  like,
  gripper,
  not,
  moving,
  or,
  when,
  arm,
  is,
  moved,
  to,
  side,
  while,
  not,
  self,
  status = = 'moving somewhere again':             print "saving data now ..."             self.r_grip_data.append(self.r_grip_press.get_pressure_readings())             self.l_grip_data.append(self.l_grip_press.get_pressure_readings())             rospy.sleep(0.05)         cPickle.dump(data, file_handle,
  file_handle,
  close,
  def,
  print_pressures,
  self 
)

Definition at line 22 of file pressure_writer.py.

Definition at line 42 of file pressure_writer.py.

Definition at line 18 of file pressure_writer.py.


Member Data Documentation

Definition at line 10 of file pressure_writer.py.

Definition at line 10 of file pressure_writer.py.

Definition at line 10 of file pressure_writer.py.

Definition at line 10 of file pressure_writer.py.

Definition at line 10 of file pressure_writer.py.


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


pr2_playpen
Author(s): Marc Killpack / mkillpack3@gatech.edu, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 12:18:33