aboutsummaryrefslogtreecommitdiff
path: root/apps/examples/control_demo/params.c
diff options
context:
space:
mode:
authorJames Goppert <jgoppert@l1.(none)>2013-04-14 20:09:38 -0400
committerJames Goppert <james.goppert@gmail.com>2013-05-08 13:51:34 -0400
commit3ed93430060228b64893119a439187725d35d7ec (patch)
tree105b045030fe4d9cfe77278cf773ad39fb805011 /apps/examples/control_demo/params.c
parent078ae23cfa00e2128d08d87dc015a3ca116f342e (diff)
downloadpx4-firmware-3ed93430060228b64893119a439187725d35d7ec.tar.gz
px4-firmware-3ed93430060228b64893119a439187725d35d7ec.tar.bz2
px4-firmware-3ed93430060228b64893119a439187725d35d7ec.zip
HIL pressure fix.
Diffstat (limited to 'apps/examples/control_demo/params.c')
-rw-r--r--apps/examples/control_demo/params.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/examples/control_demo/params.c b/apps/examples/control_demo/params.c
index 428b779b1..71eacf25c 100644
--- a/apps/examples/control_demo/params.c
+++ b/apps/examples/control_demo/params.c
@@ -59,13 +59,13 @@ PARAM_DEFINE_FLOAT(FWB_V_MAX, 16.0f); // maximum commanded velocity
// rate of climb
// this is what rate of climb is commanded (in m/s)
// when the pitch stick is fully defelcted in simple mode
-PARAM_DEFINE_FLOAT(FWB_ROC_MAX, 1.0f);
+PARAM_DEFINE_FLOAT(FWB_CR_MAX, 1.0f);
-// rate of climb -> thr
-PARAM_DEFINE_FLOAT(FWB_ROC2THR_P, 0.01f); // rate of climb to throttle PID
-PARAM_DEFINE_FLOAT(FWB_ROC2THR_I, 0.0f);
-PARAM_DEFINE_FLOAT(FWB_ROC2THR_D, 0.0f);
-PARAM_DEFINE_FLOAT(FWB_ROC2THR_D_LP, 0.0f);
-PARAM_DEFINE_FLOAT(FWB_ROC2THR_I_MAX, 0.0f);
+// climb rate -> thr
+PARAM_DEFINE_FLOAT(FWB_CR2THR_P, 0.01f); // rate of climb to throttle PID
+PARAM_DEFINE_FLOAT(FWB_CR2THR_I, 0.0f);
+PARAM_DEFINE_FLOAT(FWB_CR2THR_D, 0.0f);
+PARAM_DEFINE_FLOAT(FWB_CR2THR_D_LP, 0.0f);
+PARAM_DEFINE_FLOAT(FWB_CR2THR_I_MAX, 0.0f);
PARAM_DEFINE_FLOAT(FWB_TRIM_THR, 0.8f); // trim throttle (0,1)