Public Member Functions | Public Attributes | Private Member Functions | List of all members
dynamicgraph::sot::GripperControlPlugin Class Reference

#include <gripper-control.hh>

Inheritance diagram for dynamicgraph::sot::GripperControlPlugin:
Inheritance graph
[legend]

Public Member Functions

virtual std::string getDocString () const
 
 GripperControlPlugin (const std::string &name)
 
void initCommands ()
 
void setOffset (const double &value)
 
virtual ~GripperControlPlugin (void)
 
- Public Member Functions inherited from dynamicgraph::Entity
virtual void display (std::ostream &os) const
 
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
virtual const std::string & getClassName () const
 
const std::string & getCommandList () const
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
const std::string & getName () const
 
command::CommandgetNewStyleCommand (const std::string &cmdName)
 
CommandMap_t getNewStyleCommandMap ()
 
SignalBase< int > & getSignal (const std::string &signalName)
 
const SignalBase< int > & getSignal (const std::string &signalName) const
 
SignalMap getSignalMap () const
 
double getStreamPrintPeriod ()
 
double getStreamPrintPeriod ()
 
double getTimeSample ()
 
double getTimeSample ()
 
bool hasSignal (const std::string &signame) const
 
Loggerlogger ()
 
Logger const & logger () const
 
Loggerlogger ()
 
Logger const & logger () const
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
bool setStreamPrintPeriod (double t)
 
bool setStreamPrintPeriod (double t)
 
bool setTimeSample (double t)
 
bool setTimeSample (double t)
 
virtual SignalBase< int > * test ()
 
virtual void test2 (SignalBase< int > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~Entity ()
 
- Public Member Functions inherited from dynamicgraph::sot::GripperControl
dynamicgraph::VectorcomputeDesiredPosition (const dynamicgraph::Vector &currentPos, const dynamicgraph::Vector &desiredPos, const dynamicgraph::Vector &torques, const dynamicgraph::Vector &torqueLimits, dynamicgraph::Vector &referencePos)
 
void computeIncrement (const dynamicgraph::Vector &torques, const dynamicgraph::Vector &torqueLimits, const dynamicgraph::Vector &currentNormVel)
 Computes the. More...
 
 GripperControl (void)
 

Public Attributes

bool calibrationStarted
 
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > desiredPositionSOUT
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > positionDesSIN
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > positionFullSizeSIN
 
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > positionReduceSOUT
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > positionSIN
 
dynamicgraph::SignalPtr< Flags, int > selectionSIN
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > torqueFullSizeSIN
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > torqueLimitFullSizeSIN
 
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > torqueLimitReduceSOUT
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > torqueLimitSIN
 
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > torqueReduceSOUT
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > torqueSIN
 

Private Member Functions

 DYNAMIC_GRAPH_ENTITY_DECL ()
 

Additional Inherited Members

- Public Types inherited from dynamicgraph::Entity
typedef std::map< const std::string, command::Command *> CommandMap_t
 
typedef std::map< std::string, SignalBase< int > *> SignalMap
 
- Static Public Member Functions inherited from dynamicgraph::sot::GripperControl
static dynamicgraph::Vectorselector (const dynamicgraph::Vector &fullsize, const Flags &selec, dynamicgraph::Vector &desPos)
 select only some of the values of the vector fullsize, based on the Flags vector. More...
 
- Protected Member Functions inherited from dynamicgraph::Entity
void addCommand (const std::string &name, command::Command *command)
 
void entityDeregistration ()
 
void entityRegistration ()
 
void signalDeregistration (const std::string &name)
 
void signalRegistration (const SignalArray< int > &signals)
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 
- Protected Attributes inherited from dynamicgraph::sot::GripperControl
dynamicgraph::Vector factor
 The multiplication. More...
 
double offset
 
- Static Protected Attributes inherited from dynamicgraph::sot::GripperControl
static const double OFFSET_DEFAULT = 0.9
 

Detailed Description

Definition at line 94 of file gripper-control.hh.

Constructor & Destructor Documentation

◆ GripperControlPlugin()

GripperControlPlugin::GripperControlPlugin ( const std::string &  name)

Definition at line 47 of file gripper-control.cpp.

◆ ~GripperControlPlugin()

GripperControlPlugin::~GripperControlPlugin ( void  )
virtual

Definition at line 85 of file gripper-control.cpp.

Member Function Documentation

◆ DYNAMIC_GRAPH_ENTITY_DECL()

dynamicgraph::sot::GripperControlPlugin::DYNAMIC_GRAPH_ENTITY_DECL ( )
private

◆ getDocString()

std::string GripperControlPlugin::getDocString ( ) const
virtual

Reimplemented from dynamicgraph::Entity.

Definition at line 87 of file gripper-control.cpp.

◆ initCommands()

void GripperControlPlugin::initCommands ( void  )

Definition at line 180 of file gripper-control.cpp.

◆ setOffset()

void GripperControlPlugin::setOffset ( const double value)

Definition at line 187 of file gripper-control.cpp.

Member Data Documentation

◆ calibrationStarted

bool dynamicgraph::sot::GripperControlPlugin::calibrationStarted

Definition at line 100 of file gripper-control.hh.

◆ desiredPositionSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::desiredPositionSOUT

Definition at line 129 of file gripper-control.hh.

◆ positionDesSIN

dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::positionDesSIN

Definition at line 112 of file gripper-control.hh.

◆ positionFullSizeSIN

dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::positionFullSizeSIN

Definition at line 118 of file gripper-control.hh.

◆ positionReduceSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::positionReduceSOUT

Definition at line 120 of file gripper-control.hh.

◆ positionSIN

dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::positionSIN

Definition at line 111 of file gripper-control.hh.

◆ selectionSIN

dynamicgraph::SignalPtr<Flags, int> dynamicgraph::sot::GripperControlPlugin::selectionSIN

Definition at line 115 of file gripper-control.hh.

◆ torqueFullSizeSIN

dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::torqueFullSizeSIN

Definition at line 121 of file gripper-control.hh.

◆ torqueLimitFullSizeSIN

dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::torqueLimitFullSizeSIN

Definition at line 123 of file gripper-control.hh.

◆ torqueLimitReduceSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::torqueLimitReduceSOUT

Definition at line 125 of file gripper-control.hh.

◆ torqueLimitSIN

dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::torqueLimitSIN

Definition at line 114 of file gripper-control.hh.

◆ torqueReduceSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::torqueReduceSOUT

Definition at line 122 of file gripper-control.hh.

◆ torqueSIN

dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::GripperControlPlugin::torqueSIN

Definition at line 113 of file gripper-control.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:27