diff options
author | James Goppert <jgoppert@l1.(none)> | 2013-04-14 20:09:38 -0400 |
---|---|---|
committer | James Goppert <james.goppert@gmail.com> | 2013-05-08 13:51:34 -0400 |
commit | 3ed93430060228b64893119a439187725d35d7ec (patch) | |
tree | 105b045030fe4d9cfe77278cf773ad39fb805011 /apps/examples/control_demo/params.c | |
parent | 078ae23cfa00e2128d08d87dc015a3ca116f342e (diff) | |
download | px4-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.c | 14 |
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) |