Skip to content

Commit

Permalink
refactor: move experimental setpoint types under 'experimental'
Browse files Browse the repository at this point in the history
These will likely still change.
  • Loading branch information
bkueng authored and Thomas Stastny committed Nov 6, 2023
1 parent ec4050b commit df7eba7
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions examples/cpp/modes/manual/include/mode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#pragma once

#include <px4_ros2/components/mode.hpp>
#include <px4_ros2/control/setpoint_types/rates.hpp>
#include <px4_ros2/control/setpoint_types/attitude.hpp>
#include <px4_ros2/control/setpoint_types/experimental/rates.hpp>
#include <px4_ros2/control/setpoint_types/experimental/attitude.hpp>
#include <px4_ros2/control/offboard_actuators.hpp>

#include <Eigen/Eigen>
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/modes/mode_with_executor/include/mode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <px4_ros2/components/mode.hpp>
#include <px4_ros2/components/mode_executor.hpp>
#include <px4_ros2/components/wait_for_fmu.hpp>
#include <px4_ros2/control/setpoint_types/trajectory.hpp>
#include <px4_ros2/control/setpoint_types/experimental/trajectory.hpp>

#include <rclcpp/rclcpp.hpp>

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/modes/rtl_replacement/include/mode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <px4_ros2/components/mode.hpp>
#include <px4_ros2/components/health_and_arming_checks.hpp>
#include <px4_ros2/components/mode_executor.hpp>
#include <px4_ros2/control/setpoint_types/trajectory.hpp>
#include <px4_ros2/control/setpoint_types/experimental/trajectory.hpp>
#include <px4_msgs/msg/vehicle_land_detected.hpp>

#include <rclcpp/rclcpp.hpp>
Expand Down
12 changes: 6 additions & 6 deletions px4_ros2_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ set(HEADER_FILES
include/px4_ros2/components/overrides.hpp
include/px4_ros2/components/wait_for_fmu.hpp
include/px4_ros2/control/offboard_actuators.hpp
include/px4_ros2/control/setpoint_types/attitude.hpp
include/px4_ros2/control/setpoint_types/direct_actuators.hpp
include/px4_ros2/control/setpoint_types/rates.hpp
include/px4_ros2/control/setpoint_types/trajectory.hpp
include/px4_ros2/control/setpoint_types/experimental/attitude.hpp
include/px4_ros2/control/setpoint_types/experimental/rates.hpp
include/px4_ros2/control/setpoint_types/experimental/trajectory.hpp
include/px4_ros2/odometry/global_position.hpp
include/px4_ros2/odometry/local_position.hpp
)
Expand All @@ -50,10 +50,10 @@ add_library(px4_ros2_cpp
src/components/registration.cpp
src/components/wait_for_fmu.cpp
src/control/offboard_actuators.cpp
src/control/setpoint_types/attitude.cpp
src/control/setpoint_types/direct_actuators.cpp
src/control/setpoint_types/rates.cpp
src/control/setpoint_types/trajectory.cpp
src/control/setpoint_types/experimental/attitude.cpp
src/control/setpoint_types/experimental/rates.cpp
src/control/setpoint_types/experimental/trajectory.cpp
src/odometry/global_position.cpp
src/odometry/local_position.cpp
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: BSD-3-Clause
****************************************************************************/

#include <px4_ros2/control/setpoint_types/attitude.hpp>
#include <px4_ros2/control/setpoint_types/experimental/attitude.hpp>


namespace px4_ros2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: BSD-3-Clause
****************************************************************************/

#include <px4_ros2/control/setpoint_types/rates.hpp>
#include <px4_ros2/control/setpoint_types/experimental/rates.hpp>


namespace px4_ros2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: BSD-3-Clause
****************************************************************************/

#include <px4_ros2/control/setpoint_types/trajectory.hpp>
#include <px4_ros2/control/setpoint_types/experimental/trajectory.hpp>


namespace px4_ros2
Expand Down
2 changes: 1 addition & 1 deletion px4_ros2_cpp/test/integration/mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <px4_ros2/components/mode.hpp>
#include <px4_ros2/components/wait_for_fmu.hpp>
#include <px4_ros2/control/setpoint_types/trajectory.hpp>
#include <px4_ros2/control/setpoint_types/experimental/trajectory.hpp>

#include <rclcpp/rclcpp.hpp>

Expand Down
2 changes: 1 addition & 1 deletion px4_ros2_cpp/test/integration/mode_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <px4_ros2/components/mode_executor.hpp>
#include <px4_ros2/components/wait_for_fmu.hpp>
#include <px4_ros2/control/setpoint_types/trajectory.hpp>
#include <px4_ros2/control/setpoint_types/experimental/trajectory.hpp>

#include <rclcpp/rclcpp.hpp>

Expand Down
2 changes: 1 addition & 1 deletion px4_ros2_cpp/test/integration/overrides.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <px4_ros2/components/mode_executor.hpp>
#include <px4_ros2/components/wait_for_fmu.hpp>
#include <px4_ros2/control/setpoint_types/trajectory.hpp>
#include <px4_ros2/control/setpoint_types/experimental/trajectory.hpp>

#include <rclcpp/rclcpp.hpp>

Expand Down
2 changes: 1 addition & 1 deletion px4_ros2_cpp/test/unit/modes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <rclcpp/rclcpp.hpp>
#include <px4_ros2/components/health_and_arming_checks.hpp>
#include <px4_ros2/components/mode.hpp>
#include <px4_ros2/control/setpoint_types/rates.hpp>
#include <px4_ros2/control/setpoint_types/experimental/rates.hpp>
#include <px4_ros2/odometry/global_position.hpp>
#include "fake_registration.hpp"

Expand Down

0 comments on commit df7eba7

Please sign in to comment.