From e2e2981632677e591c0dab4e96e3ba0d720849f7 Mon Sep 17 00:00:00 2001 From: Davide Nardi <93198865+Hydran00@users.noreply.github.com> Date: Wed, 11 Dec 2024 22:41:47 +0100 Subject: [PATCH 1/3] Create main.yml --- .github/workflows/main.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7ebd77b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,35 @@ +name: Humble CI + +on: + push: + branches: + - main + +jobs: + humble_source: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - uses: ros-tooling/setup-ros@v0.7 + with: + required-ros-distributions: humble + - run: sudo apt-get install -y ros-humble-pcl-* + - run: | + # Create the workspace and move the repository to src + mkdir -p ~/ros2_ws/src + mv $(ls -d * | grep -v ros2_ws) ~/ros2_ws/src + cd ~/ros2_ws + # Install and initialize rosdep + sudo apt-get update + # sudo apt-get install -y python3-rosdep + sudo rosdep init + rosdep update + - run: | + cd ~/ros2_ws + rosdep install --from-paths src -i -r -y + - uses: ros-tooling/action-ros-ci@v0.3 + with: + package-name: kuka_package + target-ros2-distro: humble From 28df2d302b185fa4ae8b3138220f5caf7325e2b1 Mon Sep 17 00:00:00 2001 From: Davide Nardi <93198865+Hydran00@users.noreply.github.com> Date: Wed, 11 Dec 2024 22:42:56 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df74fbe..dcca9e7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# KUKA LBR Cartesian Impedance Control +# KUKA LBR Cartesian Impedance Control +[![Humble CI](https://github.com/idra-lab/kuka_impedance/actions/workflows/main.yml/badge.svg)](https://github.com/idra-lab/kuka_impedance/actions/workflows/main.yml) + A repository for controlling the KUKA lbr or med with cartesian impedance control. From a77b71a7eb23cd76b0fcaeaf27cf2f0eeef602d5 Mon Sep 17 00:00:00 2001 From: Davide Nardi <93198865+Hydran00@users.noreply.github.com> Date: Wed, 11 Dec 2024 22:57:46 +0100 Subject: [PATCH 3/3] test2 main.yml --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ebd77b..edcda1a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,14 +15,13 @@ jobs: - uses: ros-tooling/setup-ros@v0.7 with: required-ros-distributions: humble - - run: sudo apt-get install -y ros-humble-pcl-* - run: | # Create the workspace and move the repository to src mkdir -p ~/ros2_ws/src mv $(ls -d * | grep -v ros2_ws) ~/ros2_ws/src cd ~/ros2_ws # Install and initialize rosdep - sudo apt-get update + # sudo apt-get update # sudo apt-get install -y python3-rosdep sudo rosdep init rosdep update