HEBI C++ API
3.9.0
|
#include <arm.hpp>
Public Member Functions | |
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 () |
virtual bool | onAssociated (const Arm &) |
Protected Member Functions | |
bool | applyParameters (const PluginConfig &config, std::set< std::string > required_parameters) |
virtual bool | applyParameterImpl (const std::string &name, bool value) |
virtual bool | applyParameterImpl (const std::string &name, const std::vector< bool > &value) |
virtual bool | applyParameterImpl (const std::string &name, float value) |
virtual bool | applyParameterImpl (const std::string &name, const std::vector< float > &value) |
virtual bool | applyParameterImpl (const std::string &name, const std::string &value) |
virtual bool | applyParameterImpl (const std::string &name, const std::vector< std::string > &value) |
virtual bool | updateImpl (Arm &, double dt)=0 |
Abstract base class representing a plugin to be used for an Arm object. Each implementation should also implement two static functions, and be included in the ArmPluginMap list below:
Plugins allow extending an arm object with custom functionality not supported in the base class
The PluginConfig structure can have the following optional parameters used by this base Plugin class, in addition to those defined for classes that inherit from Plugin. optional:
|
inline |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
|
inline |
bool hebi::experimental::arm::plugin::Plugin::setRampTime | ( | float | ramp_time | ) |
|
inline |
bool hebi::experimental::arm::plugin::Plugin::update | ( | Arm & | arm, |
double | dt | ||
) |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
inlineprotectedvirtual |
Reimplemented in hebi::experimental::arm::plugin::ImpedanceController.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in hebi::experimental::arm::plugin::GravityCompensationEffort.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedpure virtual |