Drake
 All Classes Files Functions Variables
ComplementarityGraspWrench Class Reference

Implement the slack variable version of complementarity constraint. More...

Inheritance diagram for ComplementarityGraspWrench:
Collaboration diagram for ComplementarityGraspWrench:

Public Member Functions

function ComplementarityGraspWrench (robot, body, grasp_pt, force_max, A_torque, b_torque_lb, b_torque_ub, phi_handle, ncp_tol)
 
function evalWrenchConstraint (obj, kinsol, F, slack)
 
- Public Member Functions inherited from GraspWrench
function GraspWrench (robot, body, grasp_pt, force_max, A_torque, b_torque_lb, b_torque_ub)
 
function evalWrenchConstraint (obj, kinsol, F, slack)
 
function force (obj)
 
function torque (obj)
 
function contactPosition (obj, kinsol)
 
- Public Member Functions inherited from RigidBodyContactWrench
function RigidBodyContactWrench (robot, body, body_pts)
 
function generateWrenchConstraint (obj)
 

Protected Member Functions

function generateWrenchLincon (obj)
 
- Protected Member Functions inherited from GraspWrench
function generateWrenchLincon (obj)
 
- Protected Member Functions inherited from RigidBodyContactWrench
function checkForceSize (obj, F)
 

Protected Attributes

Property phi_handle
 
- Protected Attributes inherited from GraspWrench
Property force_max
 
Property num_torque_cnstr
 
Property A_torque
 
Property b_torque_ub
 
Property b_torque_lb
 
- Protected Attributes inherited from RigidBodyContactWrench
Property robot
 
Property body
 
Property body_name
 
Property body_pts
 
Property num_pts
 of the contact point on the body frame. More...
 
Property num_wrench_constraint
 
Property num_pt_F
 
Property F_lb
 
Property F_ub
 force parameters More...
 
Property wrench_iCfun
 force parameters More...
 
Property wrench_jCvar
 
Property wrench_cnstr_ub
 
Property wrench_cnstr_lb
 
Property wrench_cnstr_name
 
Property contact_force_type
 
Property num_slack
 
Property slack_name
 
Property slack_lb
 
Property slack_ub
 
Property kinematics_chain_idx
 
Property complementarity_flag
 

Additional Inherited Members

- Public Attributes inherited from RigidBodyContactWrench
Constant Property FrictionConeType
 
Constant Property LinearFrictionConeType
 
Constant Property GraspType
 
Constant Property GraspFrictionConeType
 

Detailed Description

Implement the slack variable version of complementarity constraint.

force >= 0 (nlcon) distance - gamma = 0 (nlcon) <force,gamma> = 0 (nlcon) gamma >= 0 (bcon)

Constructor & Destructor Documentation

function ComplementarityGraspWrench ( robot  ,
body  ,
grasp_pt  ,
force_max  ,
A_torque  ,
b_torque_lb  ,
b_torque_ub  ,
phi_handle  ,
ncp_tol   
)
Return values
obj

Member Function Documentation

function evalWrenchConstraint ( obj  ,
kinsol  ,
,
slack   
)
virtual
Return values
c
dc

Reimplemented from RigidBodyContactWrench.

function generateWrenchLincon ( obj  )
protectedvirtual
Return values
lincon

Reimplemented from RigidBodyContactWrench.

Member Data Documentation

Property phi_handle
protected

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