

Merge pull request #20 from HarvestX/humble
Update documentation
@2dc16c8a9a9f9a626a70acd37b06ba82cbf8a5db
+++ .github/workflows/ci_galactic.yml
... | ... | @@ -0,0 +1,39 @@ |
1 | +name: ci_galactic | |
2 | + | |
3 | +on: | |
4 | + push: | |
5 | + branches: | |
6 | + - "main" | |
7 | + pull_request: | |
8 | + types: [opened, synchronize, labeled] | |
9 | + | |
10 | +jobs: | |
11 | + ci: | |
12 | + runs-on: ${{ matrix.os }} | |
13 | + if: | | |
14 | + ((github.event.action == 'labeled') && | |
15 | + (github.event.label.name == 'TESTING')) || | |
16 | + ((github.event.action == 'synchronize') && | |
17 | + contains(github.event.pull_request.labels.*.name, 'TESTING')) || | |
18 | + (github.ref == 'refs/heads/main') | |
19 | + container: | |
20 | + image: osrf/ros:${{ matrix.ros_distribution }}-desktop | |
21 | + timeout-minutes: 20 | |
22 | + strategy: | |
23 | + fail-fast: false | |
24 | + matrix: | |
25 | + os: [ubuntu-20.04] | |
26 | + ros_distribution: [galactic] | |
27 | + steps: | |
28 | + - uses: actions/checkout@v2 | |
29 | + - name: Install dependencies | |
30 | + run: sudo apt-get update && sudo apt-get install -y wget python3-vcstool python3-colcon-coveragepy-result | |
31 | + - name: Build and Test | |
32 | + uses: ros-tooling/action-ros-ci@v0.2 | |
33 | + with: | |
34 | + target-ros2-distro: ${{ matrix.ros_distribution }} | |
35 | + import-token: ${{ secrets.GITHUB_TOKEN }} | |
36 | + package-name: | | |
37 | + p9n_interface | |
38 | + p9n_example | |
39 | + p9n_test(파일 끝에 줄바꿈 문자 없음) |
+++ .github/workflows/ci_humble.yml
... | ... | @@ -0,0 +1,39 @@ |
1 | +name: ci_humble | |
2 | + | |
3 | +on: | |
4 | + push: | |
5 | + branches: | |
6 | + - "main" | |
7 | + pull_request: | |
8 | + types: [opened, synchronize, labeled] | |
9 | + | |
10 | +jobs: | |
11 | + ci: | |
12 | + runs-on: ${{ matrix.os }} | |
13 | + if: | | |
14 | + ((github.event.action == 'labeled') && | |
15 | + (github.event.label.name == 'TESTING')) || | |
16 | + ((github.event.action == 'synchronize') && | |
17 | + contains(github.event.pull_request.labels.*.name, 'TESTING')) || | |
18 | + (github.ref == 'refs/heads/main') | |
19 | + container: | |
20 | + image: osrf/ros:${{ matrix.ros_distribution }}-desktop | |
21 | + timeout-minutes: 20 | |
22 | + strategy: | |
23 | + fail-fast: false | |
24 | + matrix: | |
25 | + os: [ubuntu-22.04] | |
26 | + ros_distribution: [humble] | |
27 | + steps: | |
28 | + - uses: actions/checkout@v2 | |
29 | + - name: Install dependencies | |
30 | + run: sudo apt-get update && sudo apt-get install -y wget python3-vcstool python3-colcon-coveragepy-result | |
31 | + - name: Build and Test | |
32 | + uses: ros-tooling/action-ros-ci@v0.2 | |
33 | + with: | |
34 | + target-ros2-distro: ${{ matrix.ros_distribution }} | |
35 | + import-token: ${{ secrets.GITHUB_TOKEN }} | |
36 | + package-name: | | |
37 | + p9n_interface | |
38 | + p9n_example | |
39 | + p9n_test(파일 끝에 줄바꿈 문자 없음) |
--- .github/workflows/lint.yml
... | ... | @@ -1,58 +0,0 @@ |
1 | -name: lint | |
2 | - | |
3 | -on: | |
4 | - pull_request: | |
5 | - paths-ignore: | |
6 | - - "docs/**" | |
7 | - - "**.md" | |
8 | - | |
9 | -jobs: | |
10 | - ament_lint_general: | |
11 | - runs-on: ${{ matrix.os }} | |
12 | - container: | |
13 | - image: rostooling/setup-ros-docker:ubuntu-focal-ros-galactic-ros-base-latest | |
14 | - strategy: | |
15 | - fail-fast: false | |
16 | - matrix: | |
17 | - os: [ubuntu-20.04] | |
18 | - ros_distribution: [galactic] | |
19 | - linter: [copyright, xmllint] | |
20 | - steps: | |
21 | - - uses: actions/checkout@v2 | |
22 | - - uses: ros-tooling/setup-ros@v0.2 | |
23 | - with: | |
24 | - required-ros-distributions: ${{ matrix.ros_distribution }} | |
25 | - - name: Linter | |
26 | - uses: ros-tooling/action-ros-lint@v0.1 | |
27 | - with: | |
28 | - distribution: ${{ matrix.ros_distribution }} | |
29 | - linter: ${{ matrix.linter }} | |
30 | - package-name: | | |
31 | - p9n_interface | |
32 | - p9n_example | |
33 | - p9n_test | |
34 | - | |
35 | - ament_lint_python: | |
36 | - runs-on: ${{ matrix.os }} | |
37 | - container: | |
38 | - image: rostooling/setup-ros-docker:ubuntu-focal-ros-galactic-ros-base-latest | |
39 | - strategy: | |
40 | - fail-fast: false | |
41 | - matrix: | |
42 | - os: [ubuntu-20.04] | |
43 | - ros_distribution: [galactic] | |
44 | - linter: [pep257, flake8] | |
45 | - steps: | |
46 | - - uses: actions/checkout@v2 | |
47 | - - uses: ros-tooling/setup-ros@v0.2 | |
48 | - with: | |
49 | - required-ros-distributions: ${{ matrix.ros_distribution }} | |
50 | - - name: Linter | |
51 | - uses: ros-tooling/action-ros-lint@v0.1 | |
52 | - with: | |
53 | - distribution: ${{ matrix.ros_distribution }} | |
54 | - linter: ${{ matrix.linter }} | |
55 | - package-name: | | |
56 | - p9n_interface | |
57 | - p9n_example | |
58 | - p9n_test |
--- README.md
+++ README.md
... | ... | @@ -12,6 +12,13 @@ |
12 | 12 |
| :heavy_check_mark: | `DualShock4` | |
13 | 13 |
| :heavy_check_mark: | `DualSense` | |
14 | 14 |
|
15 |
+## Repository Status |
|
16 |
+ |
|
17 |
+| ROS2 Distro | Branch | Build status | |
|
18 |
+| --- | --- | --- | |
|
19 |
+| **galactic** | [`galactic`](https://github.com/HarvestX/PlayStation-JoyInterface-ROS2/tree/galactic) | [](https://github.com/HarvestX/PlayStation-JoyInterface-ROS2/actions/workflows/ci_galactic.yml?branch=main) |
|
20 |
+| **humble** | [`humble`](https://github.com/HarvestX/PlayStation-JoyInterface-ROS2/tree/humble) | [](https://github.com/HarvestX/PlayStation-JoyInterface-ROS2/actions/workflows/ci_humble.yml?branch=main) |
|
21 |
+ |
|
15 | 22 |
|
16 | 23 |
## How to use the interface library |
17 | 24 |
1. Initialize controller interface with the specific hardware type. |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?