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

Update from upstream humble #3

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/humble-ros.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI-humble
on:
push:
branches:
- 'humble'
pull_request:
branches:
- 'humble'
workflow_dispatch:
branches:
- '*'
jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: humble, ROS_REPO: testing}
- {ROS_DISTRO: humble, ROS_REPO: main}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}
17 changes: 12 additions & 5 deletions .github/workflows/main.yml → .github/workflows/master-ros.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: CI

on: [push, pull_request]

name: CI-master
on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
workflow_dispatch:
branches:
- '*'
jobs:
industrial_ci:
strategy:
Expand All @@ -11,7 +18,7 @@ jobs:
- {ROS_DISTRO: melodic, ROS_REPO: main}
- {ROS_DISTRO: noetic, ROS_REPO: testing}
- {ROS_DISTRO: noetic, ROS_REPO: main}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/melodic-ros.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI-melodic
on:
push:
branches:
- 'melodic'
pull_request:
branches:
- 'melodic'
workflow_dispatch:
branches:
- '*'
jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: melodic, ROS_REPO: testing}
- {ROS_DISTRO: melodic, ROS_REPO: main}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}
25 changes: 25 additions & 0 deletions .github/workflows/noetic-ros.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI-noetic
on:
push:
branches:
- 'noetic'
pull_request:
branches:
- 'noetic'
workflow_dispatch:
branches:
- '*'
jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: noetic, ROS_REPO: testing}
- {ROS_DISTRO: noetic, ROS_REPO: main}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}
36 changes: 22 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.4)
project(LAS_VEGAS VERSION 2)
project(lvr2 VERSION 2)

# OPTIONS
option(BUILD_EXAMPLES "Build the examples" OFF)
Expand All @@ -8,6 +8,14 @@ option(BUILD_TOOLS "Build tools including lvr2_reconstruct" ON)
option(BUILD_TOOLS_EXPERIMENTAL "Build experimental tools" OFF)
option(WITH_DRACO "Build libraries with draco enabled" OFF)


# DEFAULT RELEASE
if (NOT EXISTS ${CMAKE_BINARY_DIR}/CMakeCache.txt)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
endif()
endif()

set_property(GLOBAL PROPERTY USE_FOLDERS On)
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS ON)

Expand All @@ -16,8 +24,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

include(GNUInstallDirs)



set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
Expand All @@ -36,9 +42,10 @@ if(embree_FOUND)
list(APPEND LVR2_DEFINITIONS -DLVR2_USE_EMBREE)
endif(embree_FOUND)


set(CMAKE_MODULE_PATH
${LAS_VEGAS_SOURCE_DIR}/CMakeModules
${LAS_VEGAS_SOURCE_DIR}/ext/kintinuous/cmake/Modules
${PROJECT_SOURCE_DIR}/CMakeModules
${PROJECT_SOURCE_DIR}/ext/kintinuous/cmake/Modules
${CMAKE_MODULE_PATH}
)

Expand Down Expand Up @@ -269,11 +276,14 @@ endif(WITH_PCL)

find_package(CGAL)
if(CGAL_FOUND)
set(_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
set(CMAKE_CXX_FLAGS)
# CGAL_USE_FILE overrides theses flags...
include(${CGAL_USE_FILE})
set(CMAKE_CXX_FLAGS "${_CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS}")

if(DEFINED CGAL_USE_FILE)
# CGAL_USE_FILE overrides theses flags...
set(_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
set(CMAKE_CXX_FLAGS)
include(${CGAL_USE_FILE})
set(CMAKE_CXX_FLAGS "${_CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS}")
endif()

message(STATUS "Found CGAL")
endif(CGAL_FOUND)
Expand Down Expand Up @@ -460,7 +470,7 @@ endif()
if(CUDA_FOUND AND "${OpenCV_VERSION_PATCH}" VERSION_GREATER "8" AND WITH_KINFU)
message(STATUS "Building LVR KinFu.")
add_subdirectory(ext/kintinuous)
include_directories(${LAS_VEGAS_SOURCE_DIR}/ext/kintinuous/kfusion/include)
include_directories(${PROJECT_SOURCE_DIR}/ext/kintinuous/kfusion/include)
endif()


Expand Down Expand Up @@ -716,6 +726,4 @@ if( DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND )
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Generating API documentation with Doxygen" VERBATIM )
endif( DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND )


endif( DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND )
5 changes: 3 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ The Las Vegas Surface Reconstruction Toolkit is an Open Source toolkit to recons

<maintainer email="[email protected]">Sebastian Pütz</maintainer>
<maintainer email="[email protected]">Thomas Wiemann</maintainer>
<maintainer email="[email protected]">Alexander Mock</maintainer>

<license>BSD-3-Clause</license>


<url type="website">https://www.las-vegas.uni-osnabrueck.de/</url>


Expand All @@ -25,6 +25,7 @@ The Las Vegas Surface Reconstruction Toolkit is an Open Source toolkit to recons
<author email="[email protected]">Dominik Feldschnieders</author>
<author email="[email protected]">Alexander Löhr</author>

<buildtool_depend>cmake</buildtool_depend>

<depend>libflann-dev</depend>
<depend>libgsl</depend>
Expand All @@ -41,6 +42,6 @@ The Las Vegas Surface Reconstruction Toolkit is an Open Source toolkit to recons
<depend>yaml-cpp</depend>

<export>
<build_type>ament_cmake</build_type>
<build_type>cmake</build_type>
</export>
</package>
Loading