Skip to content

Commit

Permalink
Added ROS workflows (#30)
Browse files Browse the repository at this point in the history
added ROS CIs
  • Loading branch information
amock authored Nov 14, 2024
1 parent 3007a9c commit 95a4298
Show file tree
Hide file tree
Showing 9 changed files with 150 additions and 105 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/humble-ros.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/master-ros.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/melodic-ros.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/noetic-ros.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/ros-humble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: humble
on:
push:
branches:
- 'develop'
- 'humble'
pull_request:
branches:
- 'develop'
- 'humble'
workflow_dispatch:
branches:
- '*'
jobs:
ros_humble:
name: humble
runs-on: ubuntu-22.04
strategy:
fail-fast: false
steps:
- name: Checkout LVR2
uses: actions/checkout@v4
with:
submodules: recursive

- name: Compile LVR2 in ROS 2 humble WS
uses: 'ros-industrial/industrial_ci@master'
env:
ROS_DISTRO: humble
ROS_REPO: main
AFTER_SCRIPT: cd ~/target_ws && ./build/lvr2/bin/lvr2_reconstruct src/lvr2/dat/scan.pts
31 changes: 31 additions & 0 deletions .github/workflows/ros-iron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: iron
on:
push:
branches:
- 'develop'
- 'iron'
pull_request:
branches:
- 'develop'
- 'iron'
workflow_dispatch:
branches:
- '*'
jobs:
ros_iron:
name: iron
runs-on: ubuntu-22.04
strategy:
fail-fast: false
steps:
- name: Checkout LVR2
uses: actions/checkout@v4
with:
submodules: recursive

- name: Compile LVR2 in ROS 2 iron WS
uses: 'ros-industrial/industrial_ci@master'
env:
ROS_DISTRO: iron
ROS_REPO: main
AFTER_SCRIPT: cd ~/target_ws && ./build/lvr2/bin/lvr2_reconstruct src/lvr2/dat/scan.pts
31 changes: 31 additions & 0 deletions .github/workflows/ros-jazzy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: jazzy
on:
push:
branches:
- 'develop'
- 'jazzy'
pull_request:
branches:
- 'develop'
- 'jazzy'
workflow_dispatch:
branches:
- '*'
jobs:
ros_jazzy:
name: jazzy
runs-on: ubuntu-24.04
strategy:
fail-fast: false
steps:
- name: Checkout LVR2
uses: actions/checkout@v4
with:
submodules: recursive

- name: Compile LVR2 in ROS 2 jazzy WS
uses: 'ros-industrial/industrial_ci@master'
env:
ROS_DISTRO: jazzy
ROS_REPO: main
AFTER_SCRIPT: cd ~/target_ws && ./build/lvr2/bin/lvr2_reconstruct src/lvr2/dat/scan.pts
31 changes: 31 additions & 0 deletions .github/workflows/ros-noetic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: noetic
on:
push:
branches:
- 'develop'
- 'noetic'
pull_request:
branches:
- 'develop'
- 'noetic'
workflow_dispatch:
branches:
- '*'
jobs:
ros_noetic:
name: noetic
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- name: Checkout LVR2
uses: actions/checkout@v4
with:
submodules: recursive

- name: Compile LVR2 in ROS2 1 noetic WS
uses: 'ros-industrial/industrial_ci@master'
env:
ROS_DISTRO: noetic
ROS_REPO: main
AFTER_SCRIPT: cd ~/target_ws && ./build/lvr2/bin/lvr2_reconstruct src/lvr2/dat/scan.pts
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
```console
/\
/ \ ## ## ## ####### ######
/ \ ## ## ## ## ## ## ##
/ \ ## ## ## ## ## ##
/________\ ## ## ## ## ## ##
/\ /\ ## ## ## ####### ##
/ \ / \ ## ## ## ## ## ##
/ \ / \ ## #### ## ## ##
/ \ / \ ########## ## ## ## ##########
/________\/________\
```

# About

This library delivers tools to build surface reconstructions from point cloud
data and a simple viewer to display the results. Additionally, the found
surfaces will be classified into predefined categories. The main aim of this
project is to deliver fast and accurate algorithms for surface reconstruction with a strong focus on
robotic applications such as tele operation in unknown environments and
robotic applications such as teleoperation in unknown environments and
localization.

# Download and Compilation from Source
Expand All @@ -13,7 +26,7 @@ localization.

https://github.com/uos/lvr2 - develop

## Linux (Ubuntu 18.04, 20.04, 22.04)
## Linux (Ubuntu 18.04, 20.04, 22.04, 24.04)

### Step 1: Install all required package dependencies:

Expand Down Expand Up @@ -112,4 +125,14 @@ Please reference the following papers when using the lvr2 library in your scient
year={2018},
pages={278-281},
doi={10.1109/IRC.2018.00059}}
```
```


## ROS build

You can simply download this library and compile it inside your ROS workspace. The following ROS distributions are supported:

| Version | Supported Distributions |
|:-----------|:----------------------------|
| ROS 1 | [![noetic](https://github.com/uos/lvr2/actions/workflows/ros-noetic.yml/badge.svg)](https://github.com/uos/lvr2/actions/workflows/ros-noetic.yml) |
| ROS 2 | [![humble](https://github.com/uos/lvr2/actions/workflows/ros-humble.yml/badge.svg)](https://github.com/uos/lvr2/actions/workflows/ros-humble.yml) [![iron](https://github.com/uos/lvr2/actions/workflows/ros-iron.yml/badge.svg)](https://github.com/uos/lvr2/actions/workflows/ros-iron.yml) [![jazzy](https://github.com/uos/lvr2/actions/workflows/ros-jazzy.yml/badge.svg)](https://github.com/uos/lvr2/actions/workflows/ros-jazzy.yml) |

0 comments on commit 95a4298

Please sign in to comment.