1#ifndef __TPIKDEFINES_H__
2#define __TPIKDEFINES_H__
5#include <eigen3/Eigen/Dense>
6#include <libconfig.h++>
23 return os <<
"\033[1;37m"
25 <<
"\033[0m" << bellShape.
xmin <<
"\n"
28 <<
"\033[0m" << bellShape.
xmax;
62 return os <<
"\033[1;37m"
64 <<
"\033[0m" << taskParam.
taskEnable <<
"\n"<<
"\033[1;37m"
66 <<
"\033[0m" << taskParam.
gain <<
"\n"
ProjectorType
The ProjectorType enum definig the projector type.
Definition TPIKDefines.h:94
bool GetParam(const libconfig::Setting &confObj, A ¶m, const std::string &name) noexcept(false)
SetParam functor.
Definition ConfHelpers.h:18
TaskOption
Definition TPIKDefines.h:105
TaskType
Definition TPIKDefines.h:100
bool GetParamVector(const libconfig::Setting &confObj, A ¶m, const std::string &name) noexcept(false)
SetParam functor.
Definition ConfHelpers.h:46
Parameter used to define a bell shaped function. Used to create either an increasing or a decreasing ...
Definition TPIKDefines.h:15
Eigen::VectorXd xmax
Vector containing the xmax for all the bell shaped function described by the struct.
Definition TPIKDefines.h:17
friend std::ostream & operator<<(std::ostream &os, BellShapedParameter const &bellShape)
Overload of the cout operator.
Definition TPIKDefines.h:21
Eigen::VectorXd xmin
Vector containing the xmin for all the bell shaped function described by the struct.
Definition TPIKDefines.h:16
bool ConfigureFromFile(T &confObj) noexcept(false)
Definition TPIKDefines.h:32
Task Parameter, used both in the equality and inequality task.
Definition TPIKDefines.h:48
double gain
The reference gain used in calculation.
Definition TPIKDefines.h:51
double conf_saturation
A backup variable for reference saturation loaded from the configuration file.
Definition TPIKDefines.h:55
double saturation
The reference saturation value.
Definition TPIKDefines.h:54
bool ConfigureFromFile(const libconfig::Setting &confObj) noexcept(false)
Definition TPIKDefines.h:72
bool taskEnable
Boolean stating whether the task is active.
Definition TPIKDefines.h:49
friend std::ostream & operator<<(std::ostream &os, TaskParameter const &taskParam)
Overload of the cout operator.
Definition TPIKDefines.h:60
double conf_gain
A backup variable for reference gain loaded from the configuration file.
Definition TPIKDefines.h:52