31 #ifndef _AMIKCONTROLLERACTIVATION_H_ 32 #define _AMIKCONTROLLERACTIVATION_H_ 34 #include <TaskGenericIK.h> 35 #include "../config/PropertySource.h" 63 virtual unsigned int getDim()
const;
65 virtual void getMinMax(
double* min,
double* max)
const;
67 virtual std::vector<std::string>
getNames()
const;
71 virtual void computeCommand(MatNd* q_des, MatNd* q_dot_des, MatNd* T_des,
const MatNd* action,
double dt);
MatNd * x_des
The goal in task space.
unsigned int dimAlwaysActiveTasks
Store the cumulative number of task dimensions which are always active.
MatNd * activation
The activation resulting from the action and the task combination method (used for logging) ...
const char * getTaskCombinationMethodName() const
virtual std::vector< std::string > getNames() const
virtual unsigned int getDim() const
Get the number of tasks multiplied by their individual dimension, owned by the action model...
virtual ~AMIKControllerActivation()
virtual void getStableAction(MatNd *action) const
static TaskCombinationMethod checkTaskCombinationMethod(std::string tcmName)
virtual void computeCommand(MatNd *q_des, MatNd *q_dot_des, MatNd *T_des, const MatNd *action, double dt)
AMIKControllerActivation(RcsGraph *graph, TaskCombinationMethod tcm)
TaskCombinationMethod taskCombinationMethod
Way to combine the tasks' contribution.
MatNd * getActivation() const
void setXdes(const MatNd *x_des)
void addAlwaysActiveTask(Task *task)
Add Rcs controller tasks that are always active. Do this after adding the regular tasks...
virtual void getMinMax(double *min, double *max) const
void setXdesFromTaskSpec(std::vector< PropertySource *> &taskSpec)