diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-08 15:28:37 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-08 15:28:37 +0200 |
commit | 497b89165972b7c4836fcb8bc0da681d8e67fb32 (patch) | |
tree | 0a5cf6005df7f7b5b67d6deca559e252947949e7 /src/lib/ecl/attitude_fw/ecl_roll_controller.cpp | |
parent | 3e66d7e0c9eaa61caf427f38ba4b7a1ab86b1ff3 (diff) | |
parent | 85b2dfa0c662298d49f584e6bd774954b04cec35 (diff) | |
download | px4-firmware-497b89165972b7c4836fcb8bc0da681d8e67fb32.tar.gz px4-firmware-497b89165972b7c4836fcb8bc0da681d8e67fb32.tar.bz2 px4-firmware-497b89165972b7c4836fcb8bc0da681d8e67fb32.zip |
Merge pull request #1047 from PX4/fwattfixperfc
fix initialization of perfcounters in fw att controllers
Diffstat (limited to 'src/lib/ecl/attitude_fw/ecl_roll_controller.cpp')
-rw-r--r-- | src/lib/ecl/attitude_fw/ecl_roll_controller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecl/attitude_fw/ecl_roll_controller.cpp b/src/lib/ecl/attitude_fw/ecl_roll_controller.cpp index 82903ef5a..d2a231694 100644 --- a/src/lib/ecl/attitude_fw/ecl_roll_controller.cpp +++ b/src/lib/ecl/attitude_fw/ecl_roll_controller.cpp @@ -59,9 +59,9 @@ ECL_RollController::ECL_RollController() : _integrator(0.0f), _rate_error(0.0f), _rate_setpoint(0.0f), - _bodyrate_setpoint(0.0f) + _bodyrate_setpoint(0.0f), + _nonfinite_input_perf(perf_alloc(PC_COUNT, "fw att control roll nonfinite input")) { - perf_alloc(PC_COUNT, "fw att control roll nonfinite input"); } ECL_RollController::~ECL_RollController() |