change scaling of feedforward gains in rate mode, gains effectively four times higher now

This commit is contained in:
Felix Ruess
2010-09-24 14:10:41 +00:00
parent 6bef819be9
commit 7749ca640e
@@ -156,7 +156,7 @@ void booz_stabilization_rate_run(bool_t in_flight) {
RATES_ADD(booz_stabilization_rate_ref, _delta_ref);
/* compute feed-forward command */
RATES_EWMULT_RSHIFT(booz_stabilization_rate_ff_cmd, booz_stabilization_rate_ddgain, booz_stabilization_rate_refdot, 16);
RATES_EWMULT_RSHIFT(booz_stabilization_rate_ff_cmd, booz_stabilization_rate_ddgain, booz_stabilization_rate_refdot, 14);
/* compute feed-back command */