From 751ecb200fab4905d7bab987a3fc1746d7472884 Mon Sep 17 00:00:00 2001 From: Shubham Date: Mon, 10 Jun 2024 14:36:41 +0530 Subject: [PATCH] use custom branch for webots_ros2 repo [TEMP] --- .github/workflows/test_ros2_jazzy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_ros2_jazzy.yml b/.github/workflows/test_ros2_jazzy.yml index fd589fb..0124da6 100644 --- a/.github/workflows/test_ros2_jazzy.yml +++ b/.github/workflows/test_ros2_jazzy.yml @@ -68,8 +68,8 @@ jobs: cp -r $GITHUB_WORKSPACE/. ~/ros2_ws/src/webots_ros2_spot - name: Install Webots Spot Dependencies run: | - cd ~/ros2_ws source /opt/ros/jazzy/setup.bash + cd ~/ros2_ws sudo rosdep init rosdep update sudo apt install -y libunwind-dev # Nav2 dependency @@ -79,6 +79,7 @@ jobs: chmod +x src/webots_ros2/webots_ros2_driver/webots_ros2_driver/ros2_supervisor.py - name: MoveIt2 Dependencies run: | + source /opt/ros/jazzy/setup.bash cd ~/ros2_ws/src mkdir moveit cd moveit @@ -87,7 +88,9 @@ jobs: rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y - name: Build Packages run: | - cd ~/ros2_ws + cd ~/ros2_ws/src/webots_ros2 + git checkout skpawar1305/jazzy + cd ../.. source /opt/ros/jazzy/setup.bash colcon build --symlink-install source install/setup.bash