Skip to content

Commit 86affe8

Browse files
author
Hydran00
committed
Add CI workflows for prop-ctrl and update README with badges
1 parent 1120a1f commit 86affe8

File tree

7 files changed

+91
-9
lines changed

7 files changed

+91
-9
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
name: KUKA Prop Humble
1+
name: Humble prop-ctrl CI
22

33
on:
44
push:
5+
branches:
6+
- "kuka-prop-ctrl"
57
pull_request:
8+
branches:
9+
- "kuka-prop-ctrl"
610

711
jobs:
812
industrial_ci:
913
strategy:
1014
fail-fast: false
1115
matrix:
1216
env:
13-
- {ROS_DISTRO: humble, ROS_REPO: testing}
1417
- {ROS_DISTRO: humble, ROS_REPO: main}
1518
runs-on: ubuntu-latest
1619
steps:

.github/workflows/humble.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@ name: Humble CI
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
pull_request:
8+
branches:
9+
- "main"
610

711
jobs:
812
industrial_ci:
913
strategy:
1014
fail-fast: false
1115
matrix:
1216
env:
13-
- {ROS_DISTRO: humble, ROS_REPO: testing}
1417
- {ROS_DISTRO: humble, ROS_REPO: main}
1518
runs-on: ubuntu-latest
1619
steps:
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Jazzy prop-ctrl CI
2+
3+
on:
4+
push:
5+
branches:
6+
- "kuka-prop-ctrl"
7+
pull_request:
8+
branches:
9+
- "kuka-prop-ctrl"
10+
11+
jobs:
12+
industrial_ci:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
env:
17+
- {ROS_DISTRO: jazzy, ROS_REPO: main}
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
ref: kuka-prop-ctrl
23+
- uses: 'ros-industrial/industrial_ci@master'
24+
env: ${{ matrix.env }}

.github/workflows/jazzy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@ name: Jazzy CI
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
pull_request:
8+
branches:
9+
- "main"
610

711
jobs:
812
industrial_ci:
913
strategy:
1014
fail-fast: false
1115
matrix:
1216
env:
13-
- {ROS_DISTRO: jazzy, ROS_REPO: testing}
1417
- {ROS_DISTRO: jazzy, ROS_REPO: main}
1518
runs-on: ubuntu-latest
1619
steps:
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Rolling prop-ctrl CI
2+
3+
on:
4+
push:
5+
branches:
6+
- "kuka-prop-ctrl"
7+
pull_request:
8+
branches:
9+
- "kuka-prop-ctrl"
10+
11+
jobs:
12+
industrial_ci:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
env:
17+
- {ROS_DISTRO: rolling, ROS_REPO: main}
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
ref: kuka-prop-ctrl
23+
- uses: 'ros-industrial/industrial_ci@master'
24+
env: ${{ matrix.env }}

.github/workflows/rolling.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@ name: Rolling CI
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
pull_request:
8+
branches:
9+
- "main"
610

711
jobs:
812
industrial_ci:
913
strategy:
1014
fail-fast: false
1115
matrix:
1216
env:
13-
- {ROS_DISTRO: rolling, ROS_REPO: testing}
1417
- {ROS_DISTRO: rolling, ROS_REPO: main}
1518
runs-on: ubuntu-latest
1619
steps:

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,33 @@
1-
![build badge](https://github.com/lucabeber/effort_controller/actions/workflows/humble.yml/badge.svg)
2-
![build badge](https://github.com/lucabeber/effort_controller/actions/workflows/jazzy.yml/badge.svg)
3-
![build badge](https://github.com/lucabeber/effort_controller/actions/workflows/rolling.yml/badge.svg)
1+
# ROS2 Effort Controller
2+
<table>
3+
<tr>
4+
<td>Humble</td>
5+
<td>Jazzy</td>
6+
<td>Rolling</td>
7+
</tr>
8+
<td>
9+
![badge humble main](https://github.com/lucabeber/effort_controller/actions/workflows/humble.yml/badge.svg)
10+
</td>
11+
<td>
12+
![badge jazzy main](https://github.com/lucabeber/effort_controller/actions/workflows/jazzy.yml/badge.svg)
13+
</td>
14+
<td>u
15+
![badge rolling main](https://github.com/lucabeber/effort_controller/actions/workflows/rolling.yml/badge.svg)
16+
</td>
17+
</tr>
18+
<tr>
19+
<td>![badge humble prop-ctrl](https://github.com/lucabeber/effort_controller/actions/workflows/humble-prop-ctrl.yml/badge.svg)
20+
</td>
21+
<td>![badge jazzy prop-ctrl](https://github.com/lucabeber/effort_controller/actions/workflows/jazzy-prop-ctrl.yml/badge.svg)
22+
</td>
23+
<td>![badge rolling prop-ctrl](https://github.com/lucabeber/effort_controller/actions/workflows/rolling-prop-ctrl.yml/badge.svg)
24+
</td>
25+
</table>
426

527

628
This repository aim to create a robot independent torque controller based on ROS2 controllers.
729
There is a base controller that communicate with the hardware interface of the robot, on top of that controller different types of controllers can be implemented.
8-
For now only a cartesian impedance controller is implemented but also other type of controllers like for example an admittance controller can be easily added.
30+
For now a cartesian impedance controller, a joint impedance controller and a gravity compensation are implemented.
931

1032
**If you want to use just the KUKA's proprietary controllers sending just the target joint position checkout the `kuka-prop-ctrl` branch.**
1133

0 commit comments

Comments
 (0)