cisst-saw
Loading...
Searching...
No Matches
mtsVFPlane Class Reference

mtsVFPlane: A class that contains logic for the implementation of Plane virtual fixtures More...

#include <mtsVFPlane.h>

Inheritance diagram for mtsVFPlane:
mtsVFCartesianTranslation mtsVFBase mtsGenericObject cmnGenericObject

Public Member Functions

 mtsVFPlane ()
 mtsVFPlane (const std::string &name, mtsVFDataBase *data)
void FillInTableauRefs (const mtsVFBase::CONTROLLERMODE mode, const double tickTime)
 Updates co with virtual fixture data.
void SetFrame (const vctFrame4x4< double > &Frame)
void ConvertRefs (const mtsVFBase::CONTROLLERMODE mode, const double tickTime)
 Converts the data in the references if a change in mode is needed.
Public Member Functions inherited from mtsVFCartesianTranslation
 mtsVFCartesianTranslation ()
 mtsVFCartesianTranslation (const std::string &name, mtsVFDataBase *data)
void AssignRefs (const mtsVFBase::CONTROLLERMODE, const double, const vctDoubleVec &, vctDoubleMat &, vctDoubleVec &, vctDoubleMat &, vctDoubleVec &, vctDoubleMat &, vctDoubleVec &)
Public Member Functions inherited from mtsVFBase
 mtsVFBase ()
 mtsVFBase (const std::string &name, mtsVFDataBase *data)
 ~mtsVFBase ()
virtual void ComputeConstraintSize ()
void ReserveSpace (nmrConstraintOptimizer &co)
 Reserves space in the control optimizer.
void LookupStateData (const std::map< std::string, prmKinematicsState * > &k, const std::map< std::string, prmSensorState * > &s)
 Updates internal state data.
void SetTableauRefs (nmrConstraintOptimizer &co)
 Updates internal references with co tableau.
vctDoubleMat Skew (const vctDoubleVec &in)
Public Member Functions inherited from mtsGenericObject
 mtsGenericObject (void)
 mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid)
 mtsGenericObject (const mtsGenericObject &other)
virtual ~mtsGenericObject (void)
mtsGenericObjectoperator= (const mtsGenericObject &other)
bool SetTimestampIfAutomatic (double timestamp)
virtual void ToStream (std::ostream &outputStream) const
virtual void ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const
virtual bool FromStreamRaw (std::istream &inputStream, const char delimiter=' ')
virtual void SerializeRaw (std::ostream &outputStream) const
virtual void DeSerializeRaw (std::istream &inputStream)
size_t ScalarNumber (void) const
bool ScalarNumberIsFixed (void) const
Public Member Functions inherited from cmnGenericObject
virtual ~cmnGenericObject (void)
virtual const cmnClassServicesBaseServices (void) const =0
bool ReconstructFrom (const cmnGenericObject &other)
std::string ToString (void) const
virtual cmnLogger::StreamBufTypeGetLogMultiplexer (void) const
virtual double Scalar (const size_t CMN_UNUSED(index)) const CISST_THROW(std
virtual std::string ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const

Public Attributes

prmKinematicsState * CurrentKinematics
Public Attributes inherited from mtsVFCartesianTranslation
vctDoubleMat IdentitySkewMatrix
vctDoubleVec w
Public Attributes inherited from mtsVFBase
std::string Name
 Name of the virtual fixture.
mtsVFDataBase * Data
 Internally stored data.
std::vector< prmKinematicsState * > Kinematics
 Frame object.
std::vector< prmSensorState * > Sensors
 Sensor object.
vctDoubleVec DOFSelections
vctDynamicMatrixRef< double > ObjectiveMatrixRef
 Objective data reference.
vctDynamicMatrixRef< double > ObjectiveMatrixSlackRef
 Objective slack reference.
vctDynamicVectorRef< double > ObjectiveVectorRef
 Objective vector reference.
vctDynamicMatrixRef< double > IneqConstraintMatrixRef
 Inequality constraint data reference.
vctDynamicMatrixRef< double > IneqConstraintMatrixSlackRef
 Inequality constraint slack reference.
vctDynamicVectorRef< double > IneqConstraintVectorRef
 Inequality constraint vector reference.
vctDynamicVectorRef< double > IneqConstraintVectorSlackRef
 Inequality constraint slack reference.
vctDynamicMatrixRef< double > EqConstraintMatrixRef
 Equality constraint data reference.
vctDynamicMatrixRef< double > EqConstraintMatrixSlackRef
 Equality constraint slack reference.
vctDynamicVectorRef< double > EqConstraintVectorRef
 Equality constraint vector reference.

Additional Inherited Members

Public Types inherited from mtsVFBase
enum  CONTROLLERMODE { JPOS = 1 , JVEL = 2 , CARTPOS = 3 , CARTVEL = 4 }
Static Public Attributes inherited from mtsVFBase
static std::string DefaultKinematicsName

Detailed Description

mtsVFPlane: A class that contains logic for the implementation of Plane virtual fixtures

Constructor & Destructor Documentation

◆ mtsVFPlane() [1/2]

mtsVFPlane::mtsVFPlane ( )

Constructor

◆ mtsVFPlane() [2/2]

mtsVFPlane::mtsVFPlane ( const std::string & name,
mtsVFDataBase * data )

Constructor

Parameters
nameString name of object

Member Function Documentation

◆ ConvertRefs()

void mtsVFPlane::ConvertRefs ( const mtsVFBase::CONTROLLERMODE mode,
const double TickTime )
virtual

Converts the data in the references if a change in mode is needed.

Reimplemented from mtsVFCartesianTranslation.

◆ FillInTableauRefs()

void mtsVFPlane::FillInTableauRefs ( const mtsVFBase::CONTROLLERMODE mode,
const double tickTime )
virtual

Updates co with virtual fixture data.

FillInTableauRefs

Reimplemented from mtsVFCartesianTranslation.

◆ SetFrame()

void mtsVFPlane::SetFrame ( const vctFrame4x4< double > & Frame)

Member Data Documentation

◆ CurrentKinematics

prmKinematicsState* mtsVFPlane::CurrentKinematics

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