#include <labust/control/PIFFController.h>
#include <labust/math/NumberManipulation.hpp>
#include <math.h>
#include <ros/ros.h>
Go to the source code of this file.
Functions | |
void | PIFF_modelTune (PIDBase *self, const PT1Model *const model, float w, float a) |
void | PIFF_tune (PIDBase *self, float w, float a) |
void | PIFF_wffIdle (PIDBase *self, float Ts, float error, float perror, float ff) |
void | PIFF_wffStep (PIDBase *self, float Ts, float error, float perror, float ff) |
void PIFF_modelTune | ( | PIDBase * | self, |
const PT1Model *const | model, | ||
float | w, | ||
float | a = 1.5 |
||
) |
Autotune the PIFF controller based on the supplied PT1Model and desired closed loop frequency.
Definition at line 39 of file PIFFController.c.
Autotune the PIFF controller using the plant model 1. Valid for higher level controllers.
Definition at line 59 of file PIFFController.c.
void PIFF_wffIdle | ( | PIDBase * | self, |
float | Ts, | ||
float | error, | ||
float | perror, | ||
float | ff | ||
) |
The idle step of the controller.
Definition at line 72 of file PIFFController.c.
void PIFF_wffStep | ( | PIDBase * | self, |
float | Ts, | ||
float | error, | ||
float | perror, | ||
float | ff | ||
) |
Calculate one step of the PIFF controller with externally supplied error and feedforward calculation.
Definition at line 124 of file PIFFController.c.