mc_rbdyn::Gains< N > Struct Template Reference

#include <mc_rbdyn/Gains.h>

Inheritance diagram for mc_rbdyn::Gains< N >:
Collaboration diagram for mc_rbdyn::Gains< N >:

Public Member Functions

 Gains (double value)
 

Detailed Description

template<int N>
struct mc_rbdyn::Gains< N >

Wrapper around fixed-sized Eigen vectors that are used for gains in the framework

Their purpose is to allow code such as:

my_task.gain = 3.0;

Where my_task.gain is a fixed vector of size 2, to mean the same as:

my_task.gain = Eigen::Vector2d::Constant(3.0);

Constructor & Destructor Documentation

◆ Gains()

template<int N>
mc_rbdyn::Gains< N >::Gains ( double  value)
inline

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