Skip to content

Commit 007a0b5

Browse files
committed
Merge branch 'devel' for 1.10.0 release
2 parents aa6372b + 863e069 commit 007a0b5

File tree

93 files changed

+2161
-1220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+2161
-1220
lines changed
+5-13
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
22
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
33

4-
name: CI
4+
name: ROS-CI
55

66
# This determines when this workflow is run
77
on: [push, pull_request] # on all pushes and PRs
@@ -11,21 +11,13 @@ jobs:
1111
strategy:
1212
matrix:
1313
env:
14-
- {ROS_DISTRO: melodic}
15-
- {ROS_DISTRO: noetic}
16-
- {ROS_DISTRO: foxy, PRERELEASE: true}
17-
- {ROS_DISTRO: rolling, PRERELEASE: true}
14+
- {ROS_DISTRO: noetic, PRERELEASE: true}
15+
- {ROS_DISTRO: iron, PRERELEASE: true}
16+
#- {ROS_DISTRO: rolling} # 2024-03-12 temporarily deactivate until transitin to Ubuntu Noble is complete
1817
env:
19-
CCACHE_DIR: /github/home/.ccache # Enable ccache
2018
BUILDER: colcon
2119
runs-on: ubuntu-latest
2220
steps:
23-
- uses: actions/checkout@v2
24-
# This step will fetch/store the directory used by ccache before/after the ci run
25-
- uses: actions/cache@v2
26-
with:
27-
path: ${{ env.CCACHE_DIR }}
28-
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
29-
# Run industrial_ci
21+
- uses: actions/checkout@v4
3022
- uses: 'ros-industrial/industrial_ci@master'
3123
env: ${{ matrix.env }}

CMakeLists.txt

+3-5
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ ADD_SUBDIRECTORY( octomap )
1717

1818
if(BUILD_OCTOVIS_SUBPROJECT)
1919
ADD_SUBDIRECTORY( octovis )
20-
endif()
20+
endif()
2121

22-
if(BUILD_DYNAMICETD3D_SUBPROJECT)
22+
if(BUILD_DYNAMICETD3D_SUBPROJECT)
2323
ADD_SUBDIRECTORY( dynamicEDT3D )
24-
endif()
25-
26-
24+
endif()

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Download the latest releases:
1616
https://github.com/octomap/octomap/releases
1717

1818
API documentation:
19-
http://octomap.github.com/octomap/doc/
19+
https://octomap.github.io/octomap/doc/
2020

2121
Build status:
2222
[![Build Status](https://travis-ci.org/OctoMap/octomap.png?branch=devel)](https://travis-ci.org/OctoMap/octomap)
@@ -56,6 +56,15 @@ To compile the complete package, run:
5656
Binaries and libs will end up in the directories `bin` and `lib` of the
5757
top-level directory where you started the build.
5858

59+
Alternatively, you can build and install octomap using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
60+
61+
git clone https://github.com/Microsoft/vcpkg.git
62+
cd vcpkg
63+
./bootstrap-vcpkg.sh
64+
./vcpkg integrate install
65+
./vcpkg install octomap
66+
67+
The octomap port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
5968

6069
See [octomap README](octomap/README.md) and [octovis README](octovis/README.md) for further
6170
details and hints on compiling, especially under Windows.

dynamicEDT3D/CMakeLists.txt

+16-15
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2)
1+
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
22
PROJECT(dynamicEDT3D)
33

44
include(CTest)
55
include(GNUInstallDirs)
66

77
# version (e.g. for packaging)
88
set(DYNAMICEDT3D_MAJOR_VERSION 1)
9-
set(DYNAMICEDT3D_MINOR_VERSION 9)
10-
set(DYNAMICEDT3D_PATCH_VERSION 7)
9+
set(DYNAMICEDT3D_MINOR_VERSION 10)
10+
set(DYNAMICEDT3D_PATCH_VERSION 0)
1111
set(DYNAMICEDT3D_VERSION ${DYNAMICEDT3D_MAJOR_VERSION}.${DYNAMICEDT3D_MINOR_VERSION}.${DYNAMICEDT3D_PATCH_VERSION})
1212
set(DYNAMICEDT3D_SOVERSION ${DYNAMICEDT3D_MAJOR_VERSION}.${DYNAMICEDT3D_MINOR_VERSION})
1313

@@ -76,19 +76,20 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/share/ament_index/resource_index/packa
7676
#TODO: this conflicts with the octomap uninstall
7777
#it is not only a target name problem, also both will use the same manifest file
7878
#in the same binary directory
79-
#configure_file(
80-
# "${PROJECT_SOURCE_DIR}/CMakeModules/CMakeUninstall.cmake.in"
81-
# "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
82-
# IMMEDIATE @ONLY)
83-
#
84-
#add_custom_target(uninstall
85-
# COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
79+
if(NOT TARGET uninstall)
80+
configure_file(
81+
"${PROJECT_SOURCE_DIR}/CMakeModules/CMakeUninstall.cmake.in"
82+
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
83+
IMMEDIATE @ONLY)
8684

85+
add_custom_target(uninstall
86+
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
87+
endif()
8788

8889
# Export the package for use from the build-tree
8990
# (this registers the build-tree with a global CMake-registry)
9091
export(PACKAGE dynamicEDT3D)
91-
92+
9293
# Create a dynamicEDT3DConfig.cmake file for the use from the build tree
9394
set(DYNAMICEDT3D_INCLUDE_DIRS "${INCLUDE_DIRS}")
9495
set(DYNAMICEDT3D_LIB_DIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
@@ -122,7 +123,7 @@ WRITE_BASIC_PACKAGE_VERSION_FILE(
122123
#install(EXPORT FooBarLibraryDepends DESTINATION
123124
# "${INSTALL_DATA_DIR}/FooBar/CMake"
124125
# COMPONENT dev)
125-
126+
126127
# Create a dynamicEDT3DConfig.cmake file for the use from the install tree
127128
# and install it
128129
set(DYNAMICEDT3D_INCLUDE_DIRS "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
@@ -145,7 +146,7 @@ WRITE_BASIC_PACKAGE_VERSION_FILE(
145146

146147
install(FILES
147148
"${PROJECT_BINARY_DIR}/InstallFiles/dynamicEDT3DConfig.cmake"
148-
"${PROJECT_BINARY_DIR}/InstallFiles/dynamicEDT3DConfig-version.cmake"
149+
"${PROJECT_BINARY_DIR}/InstallFiles/dynamicEDT3DConfig-version.cmake"
149150
DESTINATION "${CMAKE_INSTALL_DATADIR}/dynamicEDT3D")
150151

151152
# Write pkgconfig-file:
@@ -157,7 +158,7 @@ install_pkg_config_file(dynamicEDT3D
157158
VERSION ${DYNAMICEDT3D_VERSION})
158159

159160

160-
# Documentation
161+
# Documentation
161162
FIND_PACKAGE(Doxygen)
162163
IF(DOXYGEN_FOUND)
163164
ADD_CUSTOM_TARGET(docs_dynamicEDT3D ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/dynamicEDT3D.dox
@@ -169,7 +170,7 @@ ENDIF(DOXYGEN_FOUND)
169170
INCLUDE(CPackSettings)
170171

171172
# Finished:
172-
MESSAGE ("\n")
173+
MESSAGE (STATUS "\n")
173174
MESSAGE (STATUS "Compile dynamicEDT3D using: make")
174175
MESSAGE (STATUS "Install dynamicEDT3D using: make install")
175176
MESSAGE (STATUS " (be sure to set the correct CMAKE_INSTALL_PREFIX before)")

dynamicEDT3D/CMakeModules/CompilerSettings.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ IF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
44
SET(CMAKE_BUILD_TYPE Release)
55
ENDIF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
66

7-
MESSAGE ("\n")
7+
MESSAGE (STATUS "\n")
88
MESSAGE (STATUS "${PROJECT_NAME} building as ${CMAKE_BUILD_TYPE}")
99

1010
# OCTOMAP_OMP = enable OpenMP
1111
# SET(OCTOMAP_OMP 1 CACHE BOOL "Enable/disable OpenMP")
1212
# IF($ENV{OCTOMAP_OMP})
13-
# SET(OCTOMAP_OMP $ENV{OCTOMAP_OMP})
13+
# SET(OCTOMAP_OMP $ENV{OCTOMAP_OMP})
1414
# MESSAGE(STATUS "Found OCTOMAP_OMP=${OCTOMAP_OMP}")
1515
# ENDIF($ENV{OCTOMAP_OMP})
1616

@@ -21,7 +21,7 @@ IF (CMAKE_COMPILER_IS_GNUCC)
2121
SET (CMAKE_CXX_FLAGS_RELEASE "-O3 -funroll-loops -DNDEBUG")
2222
SET (CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
2323
# Shared object compilation under 64bit (vtable)
24-
ADD_DEFINITIONS(-fPIC)
24+
ADD_DEFINITIONS(-fPIC)
2525
# IF(OCTOMAP_OMP)
2626
# SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp")
2727
# SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -fopenmp")

dynamicEDT3D/package.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<package format="3">
22
<name>dynamic_edt_3d</name>
3-
<version>1.9.7</version>
3+
<version>1.10.0</version>
44
<description> The dynamicEDT3D library implements an inrementally updatable Euclidean distance transform (EDT) in 3D. It comes with a wrapper to use the OctoMap 3D representation and hooks into the change detection of the OctoMap library to propagate changes to the EDT.</description>
55

66
<author email="[email protected]">Christoph Sprunk</author>
@@ -15,7 +15,6 @@
1515

1616
<!-- The following tags are recommended by REP-136 -->
1717
<exec_depend condition="$ROS_VERSION == 1">catkin</exec_depend>
18-
<exec_depend condition="$ROS_VERSION == 2">ament_cmake</exec_depend>
1918

2019
<buildtool_depend>cmake</buildtool_depend>
2120
<export>

octomap/CHANGELOG.txt

+29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
v1.10.0: 2024-03-19
2+
===================
3+
- CMake: Fix duplicate uninstall target (#406)
4+
- Fix errors with recent compilers and C++17/20 standard (#394)
5+
- Fix ScanGraph.h c++20 compilation error (#398)
6+
- Add smaller than operator for vectors (#330)
7+
- Add vcpkg installation instructions to Readme (#382)
8+
- Fix test dependencies in CMakeLists (#374)
9+
- replace deprecated std::iterator by defining required types (#373)
10+
- octovis: fix issue with saving not showing any dialog (#414)
11+
- octovis: Fix deprecated QString and glext redefinition warning (#375)
12+
- octovis: Declare missing dependency on opengl (#408)
13+
- ROS: Updates to compile cleanly on ROS 2 Rolling on Ubuntu 24.04 (#415)
14+
- ROS: Remove ccache for ROS-Industrial CI yml (#413)
15+
- ROS: Remove EOL ROS distros from CI actions
16+
17+
18+
19+
v1.9.8: 2022-05-12
20+
==================
21+
- Also set lowercase octomap_* variables in CMake config (#369)
22+
- Fix float tests and overflow problem in binvox2bt
23+
- Fix to freespace update when bbx is set. (#360)
24+
- Update Doxygen & URLs (#354,#352)
25+
- make setBBXMin/Max parameters const (#348)
26+
- ROS: Remove unused ament_cmake dependency.
27+
- octovis: Implement volume selection features (#339)
28+
- octovis: Link dependencies in octovis-static library (#340)
29+
130
v1.9.7: 2021-05-03
231
==================
332
- Use explicit casting to prevent implicit sign conversion

octomap/CMakeLists.txt

+15-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2)
1+
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
22
PROJECT( octomap )
33

44
include(CTest)
55
include(GNUInstallDirs)
66

77
# version (e.g. for packaging)
88
set(OCTOMAP_MAJOR_VERSION 1)
9-
set(OCTOMAP_MINOR_VERSION 9)
10-
set(OCTOMAP_PATCH_VERSION 7)
9+
set(OCTOMAP_MINOR_VERSION 10)
10+
set(OCTOMAP_PATCH_VERSION 0)
1111
set(OCTOMAP_VERSION ${OCTOMAP_MAJOR_VERSION}.${OCTOMAP_MINOR_VERSION}.${OCTOMAP_PATCH_VERSION})
1212
set(OCTOMAP_SOVERSION ${OCTOMAP_MAJOR_VERSION}.${OCTOMAP_MINOR_VERSION})
1313
if(COMMAND cmake_policy)
@@ -77,18 +77,20 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/share/ament_index/resource_index/packages
7777
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/share/ament_index/resource_index/packages/${PROJECT_NAME} DESTINATION share/ament_index/resource_index/packages)
7878

7979
# uninstall target
80-
configure_file(
81-
"${PROJECT_SOURCE_DIR}/CMakeModules/CMakeUninstall.cmake.in"
82-
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
83-
IMMEDIATE @ONLY)
80+
if(NOT TARGET uninstall)
81+
configure_file(
82+
"${PROJECT_SOURCE_DIR}/CMakeModules/CMakeUninstall.cmake.in"
83+
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
84+
IMMEDIATE @ONLY)
8485

85-
add_custom_target(uninstall
86-
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
86+
add_custom_target(uninstall
87+
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
88+
endif()
8789

8890
# Export the package for use from the build-tree
8991
# (this registers the build-tree with a global CMake-registry)
9092
export(PACKAGE octomap)
91-
93+
9294
# Create a octomap-config.cmake file for the use from the build tree
9395
set(OCTOMAP_INCLUDE_DIRS "${INCLUDE_DIRS}")
9496
set(OCTOMAP_LIB_DIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
@@ -147,7 +149,7 @@ WRITE_BASIC_PACKAGE_VERSION_FILE(
147149

148150
install(FILES
149151
"${PROJECT_BINARY_DIR}/InstallFiles/octomap-config.cmake"
150-
"${PROJECT_BINARY_DIR}/InstallFiles/octomap-config-version.cmake"
152+
"${PROJECT_BINARY_DIR}/InstallFiles/octomap-config-version.cmake"
151153
DESTINATION "${CMAKE_INSTALL_DATADIR}/octomap")
152154

153155
# Write pkgconfig-file:
@@ -158,7 +160,7 @@ install_pkg_config_file(octomap
158160
REQUIRES
159161
VERSION ${OCTOMAP_VERSION})
160162

161-
# Documentation
163+
# Documentation
162164
FIND_PACKAGE(Doxygen)
163165
IF(DOXYGEN_FOUND)
164166
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/octomap.dox.in ${CMAKE_CURRENT_BINARY_DIR}/octomap.dox @ONLY)
@@ -171,7 +173,7 @@ ENDIF(DOXYGEN_FOUND)
171173
INCLUDE(CPackSettings)
172174

173175
# Finished:
174-
MESSAGE ("\n")
176+
MESSAGE (STATUS "\n")
175177
MESSAGE (STATUS "Compile octomap using: make")
176178
MESSAGE (STATUS "Install octomap using: make install")
177179
MESSAGE (STATUS " (be sure to set the correct CMAKE_INSTALL_PREFIX before)")

octomap/CMakeModules/CompilerSettings.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ IF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
44
SET(CMAKE_BUILD_TYPE Release)
55
ENDIF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
66

7-
MESSAGE ("\n")
7+
MESSAGE (STATUS "\n")
88
MESSAGE (STATUS "${PROJECT_NAME} building as ${CMAKE_BUILD_TYPE}")
99

1010
# COMPILER FLAGS

octomap/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Octomap - A probabilistic, flexible, and compact 3D mapping library for robotic
22
=======================================================================================
33

44
Authors: Kai M. Wurm and Armin Hornung, University of Freiburg, Copyright (C) 2009-2013.
5-
http://octomap.github.com
5+
https://octomap.github.io
66

7-
See the [list of contributors](AUTHORS.txt) for further authors.
7+
See the [list of contributors](https://github.com/OctoMap/octomap/blob/devel/octomap/AUTHORS.txt) for further authors.
88

9-
License for octomap: [New BSD License](LICENSE.txt)
9+
License for octomap: [New BSD License](https://github.com/OctoMap/octomap/blob/devel/octomap/LICENSE.txt)
1010

1111

1212
REQUIREMENTS
@@ -58,7 +58,7 @@ DOCUMENTATION
5858
-------------
5959

6060
The documentation for the latest stable release is available online:
61-
http://octomap.github.com/octomap/doc/index.html
61+
https://octomap.github.io/octomap/doc/index.html
6262

6363
You can build the most current HTML-Documentation for your current
6464
source with Doxygen by running `make docs`
@@ -104,7 +104,7 @@ ECLIPSE PROJECT FILES
104104
---------------------
105105

106106
Eclipse project files can be generated (with some limitations, see:
107-
http://www.vtk.org/Wiki/Eclipse_CDT4_Generator) by running:
107+
https://gitlab.kitware.com/cmake/community/-/wikis/doc/editors/Eclipse-CDT4-Generator) by running:
108108

109109
cmake -G"Eclipse CDT4 - Unix Makefiles" ..
110110

@@ -121,7 +121,7 @@ The octomap library and tools can be compiled and used
121121
under Windows although this has not been tested in-depth.
122122
Feedback is welcome.
123123

124-
To compile the library you need cmake (http://www.cmake.org)
124+
To compile the library you need cmake (https://www.cmake.org)
125125
and either MinGW or Visual Studio.
126126

127127
### MinGW ###

octomap/doxygen.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
\section intro_sec Introduction
1717
18-
The <a href="http://octomap.github.com/">OctoMap library</a>
18+
The <a href="https://octomap.github.io/">OctoMap library</a>
1919
implements a 3D occupancy grid mapping approach. It provides data
2020
structures and mapping algorithms. The map is implemented using an
2121
\ref octomap::OcTree "Octree". It is designed to meet the following
@@ -59,10 +59,10 @@ convenient exchange between robots even under bandwidth constraints.
5959
6060
<p> Octomap was developed by <a
6161
href="http://www.informatik.uni-freiburg.de/~wurm">Kai M. Wurm</a> and
62-
<a href="http://www.informatik.uni-freiburg.de/~hornunga">Armin
62+
<a href="http://www.arminhornung.de">Armin
6363
Hornung</a>, and is currently maintained by Armin Hornung. A tracker for bug reports and
6464
feature requests is available available <a href="https://github.com/OctoMap/octomap/issues">on GitHub</a>.
65-
You can find an overview at http://octomap.github.com/ and the code repository at
65+
You can find an overview at https://octomap.github.io/ and the code repository at
6666
https://github.com/OctoMap/octomap.</p>
6767
6868
\section install_sec Installation

octomap/include/octomap/AbstractOcTree.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* OctoMap - An Efficient Probabilistic 3D Mapping Framework Based on Octrees
3-
* http://octomap.github.com/
3+
* https://octomap.github.io/
44
*
55
* Copyright (c) 2009-2013, K.M. Wurm and A. Hornung, University of Freiburg
66
* All rights reserved.
@@ -51,7 +51,7 @@ namespace octomap {
5151
friend class StaticMapInit;
5252
public:
5353
AbstractOcTree();
54-
virtual ~AbstractOcTree() {};
54+
virtual ~AbstractOcTree() {}
5555

5656
/// virtual constructor: creates a new object of same type
5757
virtual AbstractOcTree* create() const = 0;

0 commit comments

Comments
 (0)