LInfGWS Class Reference

A class to build an L-Infinity GWS. More...

#include <gws.h>

Inheritance diagram for LInfGWS:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int build (std::vector< int > useDimensions=ALL_DIMENSIONS)
 Build the GWS using the Minkowski sum of all contact wrenches.
virtual const char * getType ()
 LInfGWS (Grasp *g)

Static Public Member Functions

static const char * getClassType ()

Static Private Attributes

static const char * type = "LInfinity Norm"
 Name of this type of GWS.

Detailed Description

A class to build an L-Infinity GWS.

A unit grasp wrench space constructed using the L-Infinity norm of the grasp vector (i.e. The maximum magnitude of any contact normal force is 1).

Definition at line 163 of file gws.h.


Constructor & Destructor Documentation

LInfGWS::LInfGWS ( Grasp g  )  [inline]

Stub

Definition at line 171 of file gws.h.


Member Function Documentation

int LInfGWS::build ( std::vector< int >  useDimensions = ALL_DIMENSIONS  )  [virtual]

Build the GWS using the Minkowski sum of all contact wrenches.

Builds an L Infinity GWS by finding the minkowski sum of the set of contact wrenches, and using these as the input for the convex hull operation. (performed by qhull). The output of qhull is the list of equations of the hyperplanes that bound the hull as well as the hull area and hull volume. These are all saved within the GWS. Returns FAILURE or SUCCESS.

You can ask for the GWS to be built using only a subset of the 6 dimensions of force and torque normally available. These are, in this order:

fx, fy, fz, tx, ty, tz

If you want only a subset to be used, pass a vector of 6 ints with 1 for the dimensions you want or 0 for those that you do not want. For example, if you want a GWS that only uses fx, fy and tz, pass the following vector:

1, 1, 0, 0, 0, 1

If you want to use all 6 dimensions, pass the default value of GWS::ALL_DIMENSIONS.

Implements GWS.

Definition at line 719 of file gws.cpp.

static const char* LInfGWS::getClassType (  )  [inline, static]

Returns the name of this type of GWS

Definition at line 178 of file gws.h.

virtual const char* LInfGWS::getType (  )  [inline, virtual]

Returns the name of this type of GWS

Implements GWS.

Definition at line 181 of file gws.h.


Member Data Documentation

const char * LInfGWS::type = "LInfinity Norm" [static, private]

Name of this type of GWS.

Definition at line 166 of file gws.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:22 2012