HEBI C++ API  3.12.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hebi::arm::plugin::EffortOffset Class Reference

#include <arm.hpp>

Public Member Functions

bool onAssociated (const Arm &arm) override
 
- Public Member Functions inherited from hebi::arm::plugin::Plugin
 Plugin (const std::string &name)
 
virtual ~Plugin ()=default
 
std::string name () const
 
bool enabled () const
 
void setEnabled (bool enabled)
 
float enabledRatio ()
 
bool setRampTime (float ramp_time)
 
float rampTime ()
 
bool update (Arm &, double dt)
 
virtual bool send ()
 

Static Public Member Functions

static std::unique_ptr< EffortOffsetcreate (const PluginConfig &)
 
static std::string pluginTypeName ()
 

Protected Member Functions

bool applyParameterImpl (const std::string &name, const std::vector< double > &value) override
 
bool updateImpl (Arm &arm, double dt) override
 
- Protected Member Functions inherited from hebi::arm::plugin::Plugin
bool applyParameters (const PluginConfig &config, std::set< std::string > required_parameters)
 
virtual bool applyParameterImpl (const std::string &, bool)
 
virtual bool applyParameterImpl (const std::string &, const std::vector< bool > &)
 
virtual bool applyParameterImpl (const std::string &, double)
 
virtual bool applyParameterImpl (const std::string &, const std::string &)
 
virtual bool applyParameterImpl (const std::string &, const std::vector< std::string > &)
 

Member Function Documentation

◆ create()

std::unique_ptr< EffortOffset > hebi::arm::plugin::EffortOffset::create ( const PluginConfig config)
static

◆ pluginTypeName()

static std::string hebi::arm::plugin::EffortOffset::pluginTypeName ( )
inlinestatic

◆ onAssociated()

bool hebi::arm::plugin::EffortOffset::onAssociated ( const Arm arm)
overridevirtual

Reimplemented from hebi::arm::plugin::Plugin.

◆ applyParameterImpl()

bool hebi::arm::plugin::EffortOffset::applyParameterImpl ( const std::string &  name,
const std::vector< double > &  value 
)
overrideprotectedvirtual

Reimplemented from hebi::arm::plugin::Plugin.

◆ updateImpl()

bool hebi::arm::plugin::EffortOffset::updateImpl ( Arm arm,
double  dt 
)
overrideprotectedvirtual

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