Skip to content

Commit

Permalink
Merge pull request #9 from ichiro-its/feature/color-detection
Browse files Browse the repository at this point in the history
[ Enhancement ] Add Color Detection Msg
  • Loading branch information
Nathan24zz authored Oct 7, 2022
2 parents afa4e36 + 7dc2be9 commit 9c851ef
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Add nightly Debian repository and rosdep sources list
run: |
sudo apt update && sudo apt install curl
curl -s http://repository.ichiro-its.org/debian/setup-nightly.bash | bash -s
curl -s http://repository.ichiro-its.org/rosdep/setup.bash | bash -s
curl -s ${{ secrets.SERVER_BASE_URL }}/debian/setup-nightly.bash | bash -s
curl -s ${{ secrets.SERVER_BASE_URL }}/rosdep/setup.bash | bash -s
- name: Build and test workspace
uses: ichiro-its/ros2-build-and-test-action@main
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Add stable Debian repository and rosdep sources list
run: |
sudo apt update && sudo apt install curl
curl -s http://repository.ichiro-its.org/debian/setup.bash | bash -s
curl -s http://repository.ichiro-its.org/rosdep/setup.bash | bash -s
curl -s ${{ secrets.SERVER_BASE_URL }}/debian/setup.bash | bash -s
curl -s ${{ secrets.SERVER_BASE_URL }}/rosdep/setup.bash | bash -s
- name: Build and test workspace
uses: ichiro-its/ros2-build-and-test-action@main
6 changes: 3 additions & 3 deletions .github/workflows/build-debian-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- name: Add nightly Debian repository and rosdep sources list
run: |
sudo apt update && sudo apt install curl
curl -s http://repository.ichiro-its.org/debian/setup-nightly.bash | bash -s
curl -s http://repository.ichiro-its.org/rosdep/setup.bash | bash -s
curl -s ${{ secrets.SERVER_BASE_URL }}/debian/setup-nightly.bash | bash -s
curl -s ${{ secrets.SERVER_BASE_URL }}/rosdep/setup.bash | bash -s
- name: Build nightly Debian package
uses: ichiro-its/ros2-build-debian-action@main
with:
Expand All @@ -41,6 +41,6 @@ jobs:
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASS }}
script: |
cd ~/repository/debian
cd ${{ secrets.SERVER_REPO_DIR }}/debian
reprepro includedeb nightly ~/temp/nightly/ninshiki_interfaces/package/*.deb
rm -rf ~/temp/nightly/ninshiki_interfaces/
6 changes: 3 additions & 3 deletions .github/workflows/build-debian-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- name: Add stable Debian repository and rosdep sources list
run: |
sudo apt update && sudo apt install curl
curl -s http://repository.ichiro-its.org/debian/setup.bash | bash -s
curl -s http://repository.ichiro-its.org/rosdep/setup.bash | bash -s
curl -s ${{ secrets.SERVER_BASE_URL }}/debian/setup.bash | bash -s
curl -s ${{ secrets.SERVER_BASE_URL }}/rosdep/setup.bash | bash -s
- name: Build stable Debian package
uses: ichiro-its/ros2-build-debian-action@main

Expand All @@ -39,6 +39,6 @@ jobs:
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASS }}
script: |
cd ~/repository/debian
cd ${{ secrets.SERVER_REPO_DIR }}/debian
reprepro includedeb stable ~/temp/stable/ninshiki_interfaces/package/*.deb
rm -rf ~/temp/stable/ninshiki_interfaces/
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ find_package(rosidl_default_generators REQUIRED)

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/DetectedObject.msg"
"msg/DetectedObjects.msg")
"msg/DetectedObjects.msg"
"msg/Point.msg"
"msg/Contour.msg"
"msg/Contours.msg")

ament_export_dependencies(rosidl_default_runtime)
ament_package()
2 changes: 2 additions & 0 deletions msg/Contour.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
string name
Point[] contour
1 change: 1 addition & 0 deletions msg/Contours.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Contour[] contours
2 changes: 2 additions & 0 deletions msg/Point.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
float32 x
float32 y

0 comments on commit 9c851ef

Please sign in to comment.