Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ROS workflows #30

Merged
merged 16 commits into from
Nov 14, 2024
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) |