Public Member Functions | Public Attributes
hrl_pr2_lib.epc.EPC Class Reference

Class defining the core EPC function and a few simple examples. More...

Inheritance diagram for hrl_pr2_lib.epc.EPC:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def cep_gen_surface_follow
def epc_motion
def move_till_hit
def pull_back_cartesian_control
 Pull back along a straight line (-ve x direction)

Public Attributes

 cep_list
 dist_left
 ee_list
 f_list
 robot

Detailed Description

Class defining the core EPC function and a few simple examples.

More complex behaviors that use EPC should have their own ROS packages.

Definition at line 18 of file epc.py.


Constructor & Destructor Documentation

def hrl_pr2_lib.epc.EPC.__init__ (   self,
  robot 
)

Reimplemented in hrl_pr2_lib.door_epc.Door_EPC.

Definition at line 19 of file epc.py.


Member Function Documentation

def hrl_pr2_lib.epc.EPC.cep_gen_surface_follow (   self,
  arm,
  move_dir,
  force_threshold,
  cep,
  cep_start 
)

Definition at line 121 of file epc.py.

def hrl_pr2_lib.epc.EPC.epc_motion (   self,
  equi_pt_generator,
  time_step,
  arm,
  arg_list,
  rapid_call_func = None,
  control_function = None 
)
Parameters:
equi_pt_generator,:function that returns stop, ea where ea: equilibrium angles and stop: string which is '' for epc motion to continue
rapid_call_func,:called in the time between calls to the equi_pt_generator can be used for logging, safety etc. returns string which is '' for epc motion to continue
time_step,:time between successive calls to equi_pt_generator
arg_list- list of arguments to be passed to the equi_pt_generator
Returns:
stop (the string which has the reason why the epc motion stopped.), ea (last commanded equilibrium angles)

Definition at line 32 of file epc.py.

def hrl_pr2_lib.epc.EPC.move_till_hit (   self,
  arm,
  vec = np.matrix([0.3,0.,
  T,
  force_threshold = 3.0,
  speed = 0.1,
  bias_FT = True 
)

Definition at line 90 of file epc.py.

def hrl_pr2_lib.epc.EPC.pull_back_cartesian_control (   self,
  arm,
  distance,
  logging_fn 
)

Pull back along a straight line (-ve x direction)

Parameters:
arm- 'right_arm' or 'left_arm'
distance- how far back to pull.

Definition at line 69 of file epc.py.


Member Data Documentation

Reimplemented in hrl_pr2_lib.door_epc.Door_EPC.

Definition at line 19 of file epc.py.

Definition at line 69 of file epc.py.

Reimplemented in hrl_pr2_lib.door_epc.Door_EPC.

Definition at line 19 of file epc.py.

Reimplemented in hrl_pr2_lib.door_epc.Door_EPC.

Definition at line 19 of file epc.py.

Definition at line 19 of file epc.py.


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


hrl_pr2_lib
Author(s): haidai
autogenerated on Wed Nov 27 2013 11:40:34