Skip to content

Commit b546ed0

Browse files
authored
Merge pull request #63 from ROBOTIS-GIT/feature-fix-pkg-xml
Release build error fix
2 parents c08ac7d + 5c65331 commit b546ed0

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.github/workflows/ros-ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,23 @@ jobs:
4949
with:
5050
required-ros-distributions: ${{ matrix.ros_distribution }}
5151

52+
- name: Check and Install ROS dependencies
53+
shell: bash
54+
run: |
55+
set -e
56+
source /opt/ros/${{ matrix.ros_distribution }}/setup.bash
57+
echo "--- Updating rosdep definitions ---"
58+
rosdep update
59+
echo "--- Installing system dependencies for ROS 2 ${{ matrix.ros_distribution }} ---"
60+
rosdep install --from-paths ros_ws/src --ignore-src -y -r --rosdistro ${{ matrix.ros_distribution }}
61+
echo "--- Performing rosdep check for ROS 2 ${{ matrix.ros_distribution }} ---"
62+
if rosdep check --from-paths ros_ws/src --ignore-src --rosdistro ${{ matrix.ros_distribution }}; then
63+
echo "--- rosdep check passed ---"
64+
else
65+
echo "--- rosdep check failed: Missing system dependencies or unresolvable keys. ---"
66+
exit 1
67+
fi
68+
5269
- name: Build and Test
5370
uses: ros-tooling/[email protected]
5471
with:

turtlebot3_follower/package.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<depend>nav2_msgs</depend>
1818
<depend>rclcpp</depend>
1919
<depend>std_msgs</depend>
20+
<depend>tf2</depend>
21+
<depend>tf2_geometry_msgs</depend>
22+
<depend>tf2_ros</depend>
2023
<export>
2124
<build_type>ament_cmake</build_type>
2225
</export>

turtlebot3_panorama/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<depend>cv_bridge</depend>
2121
<depend>geometry_msgs</depend>
2222
<depend>image_transport</depend>
23+
<depend>libboost-system-dev</depend>
2324
<depend>nav_msgs</depend>
2425
<depend>rclcpp</depend>
2526
<depend>sensor_msgs</depend>

0 commit comments

Comments
 (0)