mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 06:03:35 +08:00
Attitude fw: Remove builtin perf counters
This commit is contained in:
@@ -63,17 +63,12 @@ ECL_Controller::ECL_Controller(const char *name) :
|
||||
_integrator(0.0f),
|
||||
_rate_error(0.0f),
|
||||
_rate_setpoint(0.0f),
|
||||
_bodyrate_setpoint(0.0f),
|
||||
_perf_name()
|
||||
_bodyrate_setpoint(0.0f)
|
||||
{
|
||||
/* Init performance counter */
|
||||
snprintf(_perf_name, sizeof(_perf_name), "fw att control %s nonfinite input", name);
|
||||
_nonfinite_input_perf = perf_alloc(PC_COUNT, _perf_name);
|
||||
}
|
||||
|
||||
ECL_Controller::~ECL_Controller()
|
||||
{
|
||||
perf_free(_nonfinite_input_perf);
|
||||
}
|
||||
|
||||
void ECL_Controller::reset_integrator()
|
||||
|
||||
Reference in New Issue
Block a user