-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP ImageTransport * Half working template * Not working Template Specialization * Changed enable if type * Working ImageTransport: * Restructuring * Moved advertizer tag dispatchers as private member functions * Changed args of advertiser * Added ROS_DEBUG and WARN logging * Added camera Info Converter WIP * Tweaked for boost::array * Added overloading constructor for BridgePublisher * Fixed Convertion to Boost issues * Modified warning on PublishThread * Added Rectification information * Added CI for depthai-bridge (#18) - Added ClangFormat - Added CI for style check and build * Added Crop Service * Updated ROS type image publishers
- Loading branch information
Showing
18 changed files
with
865 additions
and
822 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
BasedOnStyle: Google | ||
NamespaceIndentation: None | ||
BreakBeforeBinaryOperators: NonAssignment | ||
SpaceBeforeParens: Never | ||
IndentPPDirectives: BeforeHash | ||
AlignOperands: true | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
AllowShortFunctionsOnASingleLine: Empty | ||
IndentWidth: 4 | ||
ColumnLimit: 160 | ||
AllowShortIfStatementsOnASingleLine: WithoutElse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
repositories: | ||
luxonis/depthai-ros-examples: | ||
type: git | ||
url: https://github.com/luxonis/depthai-ros-examples.git | ||
version: noetic-examples-update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
|
||
name: DepthAI ROS CI/CD | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- noetic-devel | ||
tags: | ||
- 'v*' | ||
pull_request: | ||
branches: | ||
- noetic-devel | ||
|
||
jobs: | ||
|
||
style: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Clang-Format lint | ||
|
||
uses: DoozyX/[email protected] | ||
with: | ||
source: '.' | ||
extensions: 'h,hpp,c,cpp' | ||
clangFormatVersion: 10 | ||
|
||
ROS1-build: | ||
if: startsWith(github.ref, 'refs/heads/noetic') | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-18.04, ubuntu-20.04] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Melodic build | ||
if: matrix.os == 'ubuntu-18.04' | ||
uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: melodic | ||
|
||
- name: Noetic build | ||
if: matrix.os == 'ubuntu-20.04' | ||
uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: noetic | ||
- name: Installing DepthAi Core | ||
run: sudo wget -qO- https://raw.githubusercontent.com/luxonis/depthai-ros/noetic-devel/install_dependencies.sh | sudo bash | ||
|
||
- name: Build depthai-bridge melodic | ||
if: matrix.os == 'ubuntu-18.04' | ||
uses: ros-tooling/[email protected] | ||
with: | ||
# vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/examples.repos" | ||
# package-name: depthai_examples | ||
target-ros1-distro: melodic | ||
skip-tests: true | ||
|
||
- name: Build depthai-bridge noetic | ||
if: matrix.os == 'ubuntu-20.04' | ||
uses: ros-tooling/[email protected] | ||
with: | ||
# vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/examples.repos" | ||
# package-name: depthai_examples | ||
target-ros1-distro: noetic | ||
skip-tests: true | ||
|
||
|
||
ROS2-build: | ||
if: startsWith(github.ref, 'refs/heads/foxy') | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
ros_distribution: [foxy, galactic] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: ${{ matrix.ros_distribution }} build | ||
uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: ${{ matrix.ros_distribution }} | ||
|
||
- name: Installing DepthAi Core | ||
run: sudo wget -qO- https://raw.githubusercontent.com/luxonis/depthai-ros/noetic-devel/install_dependencies.sh | sudo bash | ||
|
||
- name: Build depthai-bridge ${{ matrix.ros_distribution }} | ||
uses: ros-tooling/[email protected] | ||
with: | ||
# vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/examples.repos" | ||
# package-name: depthai_examples | ||
target-ros1-distro: ${{ matrix.ros_distribution }} | ||
skip-tests: true | ||
|
||
|
||
|
||
# build_: | ||
# runs-on: ubuntu-18.04 | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: ros-tooling/[email protected] | ||
# with: | ||
# required-ros-distributions: melodic | ||
# - run: sudo wget -qO- https://raw.githubusercontent.com/luxonis/depthai-ros/noetic-devel/install_dependencies.sh | sudo bash | ||
# - uses: ros-tooling/[email protected] | ||
# with: | ||
# # vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/examples.repos" | ||
# # package-name: depthai_examples | ||
# target-ros1-distro: melodic | ||
# skip-tests: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.json | ||
.vscode | ||
devel |
Oops, something went wrong.