| cisst-saw
    | 
mtsVFController: A class that is responsible for managing the virtual fixtures, relevant state data, and the control optimizer More...
#include <mtsVFController.h>
 
  
 | Public Member Functions | |
| mtsVFController () | |
| mtsVFController (size_t num_joints, mtsVFBase::CONTROLLERMODE cm) | |
| ~mtsVFController () | |
| nmrConstraintOptimizer | GetOptimizer () | 
|  Public Member Functions inherited from cmnGenericObject | |
| virtual | ~cmnGenericObject (void) | 
| virtual const cmnClassServicesBase * | Services (void) const =0 | 
| bool | ReconstructFrom (const cmnGenericObject &other) | 
| std::string | ToString (void) const | 
| 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) | 
| virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const | 
| virtual size_t | ScalarNumber (void) const | 
| virtual bool | ScalarNumberIsFixed (void) const | 
| virtual double | Scalar (const size_t CMN_UNUSED(index)) const throw (std::out_of_range) | 
| virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const | 
| Protected Member Functions | |
| void | AddVFJointVelocity (const mtsVFDataBase &vf) | 
| Adds/Updates a vf data object.  More... | |
| void | AddVFJointPosition (const mtsVFDataBase &vf) | 
| Adds/Updates a vf data object.  More... | |
| void | AddVFCartesianTranslation (const mtsVFDataBase &vf) | 
| Adds/Updates a vf data object.  More... | |
| void | AddVFCartesianOrientation (const mtsVFDataBase &vf) | 
| Adds/Updates a vf data object.  More... | |
| void | AddVFSensorCompliance (const mtsVFDataSensorCompliance &vf) | 
| Adds/Updates a vf data object.  More... | |
| void | AddVFPlane (const mtsVFDataPlane &vf) | 
| Adds/Updates a vf plane object.  More... | |
| void | AddVFFollowPath (const mtsVFDataBase &vf) | 
| void | SetSensor (const prmSensorState &sen) | 
| Adds/Updates a sensor to the map.  More... | |
| void | SetSensorOffset (const prmOffsetState &sen) | 
| Adds/Updates a sensor to the map.  More... | |
| void | RemoveSensorFromMap (const std::string &senName) | 
| Removes a sensor from the map.  More... | |
| void | SetMode (const mtsVFBase::CONTROLLERMODE &m) | 
| Changes the variable the optimizer is solving for.  More... | |
| void | LookupBaseData (void) | 
| Finds the "base" object for kinematics and sensor data that has an offset.  More... | |
| void | SetKinematics (const prmKinematicsState &kin) | 
| Adds/Updates a kinematics object to the map.  More... | |
| void | RemoveKinematicsFromMap (const std::string &kinName) | 
| Removes a kinematics object from the map.  More... | |
| void | UpdateOptimizer (double TickTime) | 
| Updates the robot state data and control optimizer.  More... | |
| nmrConstraintOptimizer::STATUS | Solve (vctDoubleVec &dq) | 
| Solves the constraint optimization problem and fills the result into the parameter.  More... | |
| void | IncrementUsers (const std::vector< std::string > kin_names, const std::vector< std::string > sensor_names) | 
| Helper function that increments users of new vf.  More... | |
| void | DecrementUsers (const std::vector< std::string > kin_names, const std::vector< std::string > sensor_names) | 
| Helper function that decrements users of new data in an old vf.  More... | |
| bool | SetVFData (const mtsVFDataBase &data, const std::type_info &type) | 
| bool | SetVFDataSensorCompliance (const mtsVFDataSensorCompliance &data, const std::type_info &type) | 
| bool | SetVFDataPlane (const mtsVFDataPlane &data, const std::type_info &type) | 
| Protected Attributes | |
| std::map< std::string, mtsVFBase * > | VFMap | 
| std::map< std::string, prmKinematicsState * > | Kinematics | 
| std::map< std::string, prmSensorState * > | Sensors | 
| prmJointState | JointState | 
| nmrConstraintOptimizer | Optimizer | 
| mtsVFBase::CONTROLLERMODE | ControllerMode | 
mtsVFController: A class that is responsible for managing the virtual fixtures, relevant state data, and the control optimizer
| 
 | inline | 
Constructor
| 
 | inline | 
Constructor
| 
 | inline | 
| 
 | protected | 
Adds/Updates a vf data object.
| 
 | protected | 
Adds/Updates a vf data object.
| 
 | protected | 
| 
 | protected | 
Adds/Updates a vf data object.
| 
 | protected | 
Adds/Updates a vf data object.
| 
 | protected | 
Adds/Updates a vf plane object.
| 
 | protected | 
Adds/Updates a vf data object.
| 
 | protected | 
Helper function that decrements users of new data in an old vf.
| 
 | inline | 
| 
 | protected | 
Helper function that increments users of new vf.
| 
 | protected | 
Finds the "base" object for kinematics and sensor data that has an offset.
| 
 | protected | 
Removes a kinematics object from the map.
| 
 | protected | 
Removes a sensor from the map.
| 
 | protected | 
Adds/Updates a kinematics object to the map.
| 
 | protected | 
Changes the variable the optimizer is solving for.
| 
 | protected | 
Adds/Updates a sensor to the map.
| 
 | protected | 
Adds/Updates a sensor to the map.
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
Solves the constraint optimization problem and fills the result into the parameter.
| 
 | protected | 
Updates the robot state data and control optimizer.
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
 1.8.6
 1.8.6