Skip to content

Commit

Permalink
switch to use tf2_eigen.hpp, but that drops support for EOL distros
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Sep 9, 2023
1 parent 4d4eff1 commit 5f8c492
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
matrix:
env:
# - {ROS_DISTRO: foxy, ROS_REPO: testing}
- {ROS_DISTRO: foxy, ROS_REPO: main}
# - {ROS_DISTRO: foxy, ROS_REPO: main}
# - {ROS_DISTRO: galactic, ROS_REPO: testing}
- {ROS_DISTRO: galactic, ROS_REPO: main}
# - {ROS_DISTRO: galactic, ROS_REPO: main}
- {ROS_DISTRO: humble, ROS_REPO: main}
- {ROS_DISTRO: iron, ROS_REPO: main}
- {ROS_DISTRO: rolling, ROS_REPO: testing}
Expand Down
2 changes: 1 addition & 1 deletion mavros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(mavros)

# Default to C++20
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++2a")
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down
2 changes: 1 addition & 1 deletion mavros_extras/src/plugins/distance_sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
*/

#include <yaml-cpp/yaml.h>
#include <tf2_eigen/tf2_eigen.h>

#include <unordered_map>
#include <string>
#include <memory>
#include <vector>
#include <shared_mutex> // NOLINT cpplint, that is almost 4 years since standard release!

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/guided_target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include <string>

#include <GeographicLib/Geocentric.hpp>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/hil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include <algorithm>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/landing_target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
* https://github.com/mavlink/mavros/tree/master/LICENSE.md
*/

#include <tf2_eigen/tf2_eigen.h>

#include <algorithm>
#include <string>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/utils.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/mocap_pose_estimate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/mount_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include <memory>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/odom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include <string>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/vibration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include <string>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/vision_pose_estimate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include <string>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/utils.hpp"
Expand Down
3 changes: 1 addition & 2 deletions mavros_extras/src/plugins/wheel_odometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
* @{
*/

#include <tf2_eigen/tf2_eigen.h>

#include <algorithm>
#include <string>
#include <vector>

#include "tf2_eigen/tf2_eigen.hpp"
#include "rcpputils/asserts.hpp"
#include "mavros/mavros_uas.hpp"
#include "mavros/plugin.hpp"
Expand Down

0 comments on commit 5f8c492

Please sign in to comment.