Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CPS-VO
PX4-Firmware
Commits
901461f3
Commit
901461f3
authored
May 05, 2016
by
Lorenz Meier
Browse files
FW att ctrl: Reduce perf counters
parent
34c7dea0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/modules/fw_att_control/fw_att_control_main.cpp
View file @
901461f3
/****************************************************************************
*
* Copyright (c) 2013-201
5
PX4 Development Team. All rights reserved.
* Copyright (c) 2013-201
6
PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
...
...
@@ -376,9 +376,14 @@ FixedwingAttitudeControl::FixedwingAttitudeControl() :
_attitude_setpoint_id
(
0
),
/* performance counters */
_loop_perf
(
perf_alloc
(
PC_ELAPSED
,
"fw att control"
)),
_nonfinite_input_perf
(
perf_alloc
(
PC_COUNT
,
"fw att control nonfinite input"
)),
_nonfinite_output_perf
(
perf_alloc
(
PC_COUNT
,
"fw att control nonfinite output"
)),
_loop_perf
(
perf_alloc
(
PC_ELAPSED
,
"fwa_dt"
)),
#if 0
_nonfinite_input_perf(perf_alloc(PC_COUNT, "fwa_nani")),
_nonfinite_output_perf(perf_alloc(PC_COUNT, "fwa_nano")),
#else
_nonfinite_input_perf
(
nullptr
),
_nonfinite_output_perf
(
nullptr
),
#endif
/* states */
_setpoint_valid
(
false
),
_debug
(
false
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment