mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 18:10:35 +08:00
ekf2, fw_mode_manager, fw_rate_control: remove unused using declarations
Remove using-declarations for math::constrain, math::max, and math::min that are never used — all call sites use the fully-qualified form (e.g. math::constrain()). Fixes misc-unused-using-decls clang-tidy diagnostic. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
#include "EKF2.hpp"
|
||||
|
||||
using namespace time_literals;
|
||||
using math::constrain;
|
||||
using matrix::Eulerf;
|
||||
using matrix::Quatf;
|
||||
using matrix::Vector3f;
|
||||
|
||||
@@ -36,9 +36,6 @@
|
||||
#include <px4_platform_common/events.h>
|
||||
#include <uORB/topics/longitudinal_control_configuration.h>
|
||||
|
||||
using math::constrain;
|
||||
using math::max;
|
||||
using math::min;
|
||||
using math::radians;
|
||||
|
||||
using matrix::Dcmf;
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
using namespace time_literals;
|
||||
using namespace matrix;
|
||||
|
||||
using math::constrain;
|
||||
using math::interpolate;
|
||||
using math::radians;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user