Public Member Functions | Public Attributes | Private Member Functions
equilibrium_point_control.ep_control.EPC Class Reference

Simple class containing the core EPC function: a control loop paradigm. More...

List of all members.

Public Member Functions

def __init__
 Initializes variables and subscribers.
def epc_motion
 Control loop for equilibrium point control.

Public Attributes

 epc_name
 pause_epc
 stop_epc

Private Member Functions

def _pause_cb
 Subscriber callback for pausing the arm's motion.
def _stop_cb
 Subscriber callback for stopping the arm's motion.

Detailed Description

Simple class containing the core EPC function: a control loop paradigm.

Definition at line 59 of file ep_control.py.


Constructor & Destructor Documentation

def equilibrium_point_control.ep_control.EPC.__init__ (   self,
  epc_name = 'epc' 
)

Initializes variables and subscribers.

Definition at line 63 of file ep_control.py.


Member Function Documentation

def equilibrium_point_control.ep_control.EPC._pause_cb (   self,
  msg 
) [private]

Subscriber callback for pausing the arm's motion.

Definition at line 78 of file ep_control.py.

def equilibrium_point_control.ep_control.EPC._stop_cb (   self,
  msg 
) [private]

Subscriber callback for stopping the arm's motion.

Definition at line 72 of file ep_control.py.

def equilibrium_point_control.ep_control.EPC.epc_motion (   self,
  ep_gen,
  time_step,
  timeout = np.inf 
)

Control loop for equilibrium point control.

For each time step, ep_gen provides 4 functions, a termination check, an ep generation step, a clamping step, and an ep control step. These functions are called in this order along with helper functionality for stopping and pausing control.

Parameters:
ep_gen- Object of type EPGenerator.
time_step,:Time between successive calls to equi_pt_generator
timeout- time after which the epc motion will stop.
Returns:
stop (the string which has the reason why the epc motion stopped.), ea (last commanded equilibrium angles)

Definition at line 91 of file ep_control.py.


Member Data Documentation

Definition at line 63 of file ep_control.py.

Definition at line 63 of file ep_control.py.

Definition at line 63 of file ep_control.py.


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


equilibrium_point_control
Author(s): Advait Jain, Kelsey Hawkins. Advisor: Prof. Charlie Kemp (Healthcare Robotics Lab)
autogenerated on Wed Nov 27 2013 11:34:55