Skip to content

Commit

Permalink
Mark ROS 1 dependencies correctly in package.xml (#43)
Browse files Browse the repository at this point in the history
* Tag out ros1 dependencies

Signed-off-by: Emerson Knapp <[email protected]>

* Add missing dependencies and do some alphasorting

Signed-off-by: Emerson Knapp <[email protected]>

---------

Signed-off-by: Emerson Knapp <[email protected]>
  • Loading branch information
emersonknapp authored Jan 23, 2024
1 parent 420ca7b commit aae8ce8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
9 changes: 5 additions & 4 deletions fixposition_driver_lib/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>
<test_depend condition="$ROS_VERSION == 2">ament_cmake_gtest</test_depend>
<depend>roscpp</depend>
<depend>tf</depend>
<depend>boost</depend>
<depend condition="$ROS_VERSION == 1">roscpp</depend>
<depend condition="$ROS_VERSION == 1">tf</depend>
<depend>nav_msgs</depend>
<depend>sensor_msgs</depend>
<depend>std_msgs</depend>
<depend>geometry_msgs</depend>
<depend>message_generation</depend>
<depend>message_runtime</depend>
<depend condition="$ROS_VERSION == 1">message_generation</depend>
<depend condition="$ROS_VERSION == 1">message_runtime</depend>
<depend>fixposition_gnss_tf</depend>
<export>
<build_type>cmake</build_type>
Expand Down
17 changes: 12 additions & 5 deletions fixposition_driver_ros2/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,24 @@
<license>MIT</license>

<buildtool_depend>ament_cmake</buildtool_depend>
<exec_depend>rclcpp</exec_depend>
<buildtool_depend>rosidl_default_generators</buildtool_depend>
<exec_depend>rosidl_default_runtime</exec_depend>

<member_of_group>rosidl_interface_packages</member_of_group>

<build_depend>builtin_interfaces</build_depend>

<depend>fixposition_driver_lib</depend>
<depend>fixposition_gnss_tf</depend>
<depend>geometry_msgs</depend>
<depend>nav_msgs</depend>
<depend>sensor_msgs</depend>
<depend>std_msgs</depend>
<depend>geometry_msgs</depend>
<depend>fixposition_gnss_tf</depend>
<depend>fixposition_driver_lib</depend>
<depend>tf2</depend>
<depend>tf2_eigen</depend>
<depend>tf2_ros</depend>

<exec_depend>rclcpp</exec_depend>
<exec_depend>rosidl_default_runtime</exec_depend>

<export>
<build_type>ament_cmake</build_type>
Expand Down

0 comments on commit aae8ce8

Please sign in to comment.