segway move to examples

This commit is contained in:
Daniel Agar
2017-03-11 11:40:14 +01:00
committed by Lorenz Meier
parent 89ff9f1fe3
commit 0611677ee2
15 changed files with 187 additions and 159 deletions
+7
View File
@@ -0,0 +1,7 @@
#include <systemlib/param/param.h>
// 16 is max name length
PARAM_DEFINE_FLOAT(SEG_TH2V_P, 10.0f); // pitch to voltage
PARAM_DEFINE_FLOAT(SEG_TH2V_I, 0.0f); // pitch integral to voltage
PARAM_DEFINE_FLOAT(SEG_TH2V_I_MAX, 0.0f); // integral limiter
PARAM_DEFINE_FLOAT(SEG_Q2V, 1.0f); // pitch rate to voltage