14 #include "matrixlib.h"
16 #include <MatrixLib/MatrixLib.h>
39 ml_matrix angle_command;
49 void Initialize(
double a,
double b,
double c,
double d, ml_matrix inertia );
51 ml_matrix
Update( ml_matrix angle_error );
55 void SetInertia( ml_matrix inertia ){this->inertia = inertia;};
void SetInertia(ml_matrix inertia)
Set the inertia.
Definition: sc_pd.h:55
PD(void)
Constructor.
Definition: sc_pd.cc:16
void Reset(void)
Reset the pd.
Definition: sc_pd.cc:39
void Initialize(double a, double b, double c, double d, ml_matrix inertia)
Initialize all state matrices.
Definition: sc_pd.cc:28
ml_matrix Update(ml_matrix angle_error)
Update the output.
Definition: sc_pd.cc:52
ml_matrix GetInertia(void)
Get the inertia.
Definition: sc_pd.h:57
ml_matrix q_desired_state
Target quaternion.
Definition: sc_pd.h:44