3#include <eigen3/Eigen/Core> 
    4#include <eigen3/Eigen/Dense> 
    5#include "controllers/impedance/Impedance.hpp" 
    7namespace controllers::impedance {
 
   31      const std::list<std::shared_ptr<state_representation::ParameterInterface>>& parameters,
 
   32      unsigned int dimensions = 6
 
   42  S 
compute_command(
const S& desired_state, 
const S& feedback_state) 
override;
 
   48  this->
inertia_->set_value(Eigen::MatrixXd::Zero(dimensions, dimensions));
 
   53    const std::list<std::shared_ptr<state_representation::ParameterInterface>>& parameters, 
unsigned int dimensions
 
Definition of an impedance controller in either joint or task space.
 
std::shared_ptr< state_representation::Parameter< Eigen::MatrixXd > > inertia_
inertia matrix of the controller associated to acceleration
 
A velocity impedance is a normal impedance controller that only uses velocity input and integrates it...
 
S compute_command(const S &desired_state, const S &feedback_state) override
Compute the force (task space) or torque (joint space) command based on the input state of the system...
 
VelocityImpedance(const std::list< std::shared_ptr< state_representation::ParameterInterface > > ¶meters, unsigned int dimensions=6)
Constructor from an initial parameter list.
 
VelocityImpedance(unsigned int dimensions=6)
Base constructor.
 
void set_parameters(const ParameterInterfaceList ¶meters)
Set parameters from a list of parameters.
 
ParameterInterfaceMap parameters_
map of parameters by name