LocalGuidance
A library that generates velocity references to follow a path.
robot_utils::ForceCalibratorBase Class Referenceabstract

#include <ForceCalibratorBase.hpp>

Inheritance diagram for robot_utils::ForceCalibratorBase:
Inheritance graph

Public Member Functions

 ForceCalibratorBase (const std::string &name)
 
virtual ~ForceCalibratorBase ()=default
 
virtual bool store (const std::string &filename)=0
 
virtual bool load (const std::string &filename)=0
 
virtual bool isCalibrating ()=0
 
virtual bool startCalibration (bool wait=false)=0
 
virtual bool wait ()=0
 
virtual bool initialize (double dt)=0
 
virtual bool advance (double dt)=0
 
virtual bool command (ForceCalibratorCommand &command)=0
 
virtual bool getCalibratedForce (kindr::Force3D &calibratedForce, const kindr::Force3D &uncalibratedForce)=0
 
virtual bool getCalibratedTorque (kindr::Torque3D &calibratedTorque, const kindr::Torque3D &uncalibratedTorque)=0
 
virtual bool getCalibratedWrench (kindr::WrenchD &calibratedWrench, const kindr::WrenchD &uncalibratedWrench)
 
virtual void getStatistics (ForceCalibratorStats &statistics)=0
 
const std::string & getName () const
 
void setWrench (const kindr::WrenchD &wrench)
 
void setForce (const kindr::Force3D &force)
 
void setTorque (const kindr::Torque3D &torque)
 

Protected Attributes

std::string name_
 
kindr::WrenchD wrench_
 
boost::shared_mutex mutexWrench_
 

Constructor & Destructor Documentation

robot_utils::ForceCalibratorBase::ForceCalibratorBase ( const std::string &  name)
virtual robot_utils::ForceCalibratorBase::~ForceCalibratorBase ( )
virtualdefault

Member Function Documentation

virtual bool robot_utils::ForceCalibratorBase::advance ( double  dt)
pure virtual
virtual bool robot_utils::ForceCalibratorBase::command ( ForceCalibratorCommand command)
pure virtual
virtual bool robot_utils::ForceCalibratorBase::getCalibratedForce ( kindr::Force3D &  calibratedForce,
const kindr::Force3D &  uncalibratedForce 
)
pure virtual
virtual bool robot_utils::ForceCalibratorBase::getCalibratedTorque ( kindr::Torque3D &  calibratedTorque,
const kindr::Torque3D &  uncalibratedTorque 
)
pure virtual
virtual bool robot_utils::ForceCalibratorBase::getCalibratedWrench ( kindr::WrenchD &  calibratedWrench,
const kindr::WrenchD &  uncalibratedWrench 
)
inlinevirtual
const std::string& robot_utils::ForceCalibratorBase::getName ( ) const
inline
virtual void robot_utils::ForceCalibratorBase::getStatistics ( ForceCalibratorStats statistics)
pure virtual
virtual bool robot_utils::ForceCalibratorBase::initialize ( double  dt)
pure virtual
virtual bool robot_utils::ForceCalibratorBase::isCalibrating ( )
pure virtual
virtual bool robot_utils::ForceCalibratorBase::load ( const std::string &  filename)
pure virtual
void robot_utils::ForceCalibratorBase::setForce ( const kindr::Force3D &  force)
inline
void robot_utils::ForceCalibratorBase::setTorque ( const kindr::Torque3D &  torque)
inline
void robot_utils::ForceCalibratorBase::setWrench ( const kindr::WrenchD &  wrench)
inline
virtual bool robot_utils::ForceCalibratorBase::startCalibration ( bool  wait = false)
pure virtual
virtual bool robot_utils::ForceCalibratorBase::store ( const std::string &  filename)
pure virtual
virtual bool robot_utils::ForceCalibratorBase::wait ( )
pure virtual

Member Data Documentation

boost::shared_mutex robot_utils::ForceCalibratorBase::mutexWrench_
protected
std::string robot_utils::ForceCalibratorBase::name_
protected
kindr::WrenchD robot_utils::ForceCalibratorBase::wrench_
protected

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