From 0a8b46c6b04b8bd35d237de591d5ae2d1e452076 Mon Sep 17 00:00:00 2001 From: Vladimir Ermakov Date: Sat, 9 Sep 2023 15:16:56 +0200 Subject: [PATCH] fix build warnings tf2_eigen.h --- mavros/mavros/base.py | 2 +- mavros/src/plugins/setpoint_accel.cpp | 3 +-- mavros/src/plugins/setpoint_attitude.cpp | 2 +- mavros/src/plugins/setpoint_position.cpp | 2 +- mavros/src/plugins/setpoint_raw.cpp | 3 +-- mavros/src/plugins/setpoint_trajectory.cpp | 3 +-- mavros/src/plugins/setpoint_velocity.cpp | 3 +-- mavros/src/plugins/wind_estimation.cpp | 2 +- 8 files changed, 8 insertions(+), 12 deletions(-) diff --git a/mavros/mavros/base.py b/mavros/mavros/base.py index 1b05a31f1..d09970db3 100644 --- a/mavros/mavros/base.py +++ b/mavros/mavros/base.py @@ -88,7 +88,7 @@ def __init__( self, node_name: typing.Optional[str] = None, mavros_ns: str = DEFAULT_NAMESPACE ): """ - Constructor. + BaseNode. :param node_name: name of the node, would be random if None :param mavros_ns: node name of mavros::UAS diff --git a/mavros/src/plugins/setpoint_accel.cpp b/mavros/src/plugins/setpoint_accel.cpp index 6d270a542..e11ff4742 100644 --- a/mavros/src/plugins/setpoint_accel.cpp +++ b/mavros/src/plugins/setpoint_accel.cpp @@ -16,8 +16,7 @@ * @{ */ -#include - +#include "tf2_eigen/tf2_eigen.hpp" #include "rcpputils/asserts.hpp" #include "mavros/mavros_uas.hpp" #include "mavros/plugin.hpp" diff --git a/mavros/src/plugins/setpoint_attitude.cpp b/mavros/src/plugins/setpoint_attitude.cpp index 62b9cde9c..496c401f8 100644 --- a/mavros/src/plugins/setpoint_attitude.cpp +++ b/mavros/src/plugins/setpoint_attitude.cpp @@ -16,13 +16,13 @@ * @{ */ -#include #include #include #include #include +#include "tf2_eigen/tf2_eigen.hpp" #include "rcpputils/asserts.hpp" #include "mavros/mavros_uas.hpp" #include "mavros/plugin.hpp" diff --git a/mavros/src/plugins/setpoint_position.cpp b/mavros/src/plugins/setpoint_position.cpp index 00f9b0ee0..f1279d52e 100644 --- a/mavros/src/plugins/setpoint_position.cpp +++ b/mavros/src/plugins/setpoint_position.cpp @@ -14,9 +14,9 @@ * @{ */ -#include #include +#include "tf2_eigen/tf2_eigen.hpp" #include "rcpputils/asserts.hpp" #include "mavros/mavros_uas.hpp" #include "mavros/plugin.hpp" diff --git a/mavros/src/plugins/setpoint_raw.cpp b/mavros/src/plugins/setpoint_raw.cpp index 653c180c7..beb259fd4 100644 --- a/mavros/src/plugins/setpoint_raw.cpp +++ b/mavros/src/plugins/setpoint_raw.cpp @@ -14,10 +14,9 @@ * https://github.com/mavlink/mavros/tree/master/LICENSE.md */ -#include - #include +#include "tf2_eigen/tf2_eigen.hpp" #include "rcpputils/asserts.hpp" #include "mavros/mavros_uas.hpp" #include "mavros/plugin.hpp" diff --git a/mavros/src/plugins/setpoint_trajectory.cpp b/mavros/src/plugins/setpoint_trajectory.cpp index 95c5386e2..732c06167 100644 --- a/mavros/src/plugins/setpoint_trajectory.cpp +++ b/mavros/src/plugins/setpoint_trajectory.cpp @@ -15,11 +15,10 @@ * @{ */ -#include - #include #include +#include "tf2_eigen/tf2_eigen.hpp" #include "rcpputils/asserts.hpp" #include "mavros/mavros_uas.hpp" #include "mavros/plugin.hpp" diff --git a/mavros/src/plugins/setpoint_velocity.cpp b/mavros/src/plugins/setpoint_velocity.cpp index 850b43ecb..9f18f5e4d 100644 --- a/mavros/src/plugins/setpoint_velocity.cpp +++ b/mavros/src/plugins/setpoint_velocity.cpp @@ -16,8 +16,7 @@ * @{ */ -#include - +#include "tf2_eigen/tf2_eigen.hpp" #include "rcpputils/asserts.hpp" #include "mavros/mavros_uas.hpp" #include "mavros/plugin.hpp" diff --git a/mavros/src/plugins/wind_estimation.cpp b/mavros/src/plugins/wind_estimation.cpp index 4d414f4b0..659d79425 100644 --- a/mavros/src/plugins/wind_estimation.cpp +++ b/mavros/src/plugins/wind_estimation.cpp @@ -16,8 +16,8 @@ */ #include -#include +#include "tf2_eigen/tf2_eigen.hpp" #include "rcpputils/asserts.hpp" #include "mavros/mavros_uas.hpp" #include "mavros/plugin.hpp"