Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b5f93c2
Fix errors in periodic CI
Butakus Nov 8, 2025
503f7d0
Merge pull request #11 from Butakus/rolling
fmrico Nov 10, 2025
8692e63
Add occupancy grid constants
fmrico Nov 11, 2025
e9556e1
FREE_SPACE as white
fmrico Nov 11, 2025
cc84254
Linting
fmrico Nov 11, 2025
f2614f8
Merge pull request #12 from fmrico/occupancy_works
fmrico Nov 11, 2025
c285b1b
NavMap Goal Pose
fmrico Nov 13, 2025
5fca4fe
Merge pull request #13 from fmrico/navmap_goal_pose
fmrico Nov 13, 2025
a9532a6
Separate periodic CI from PR/push
fmrico Nov 15, 2025
d9307e6
Merge pull request #14 from fmrico/fix_ci
fmrico Nov 15, 2025
dc47f46
Fix potential linker error and warning
fmrico Nov 21, 2025
426e0b3
Merge pull request #15 from fmrico/fix_linker
fmrico Nov 21, 2025
3849f2b
Cleanup unused headers
Butakus Nov 21, 2025
ef4ae1c
Sppedup the navcel location
fmrico Nov 21, 2025
1ada155
Merge pull request #16 from Butakus/rolling
fmrico Nov 21, 2025
3231eff
Merge pull request #17 from fmrico/improve_navcell_location
fmrico Nov 21, 2025
df483f5
Fix pcl_conversions
fmrico Nov 24, 2025
9afa93c
Update Changelog
fmrico Nov 24, 2025
ec3512d
0.3.0
fmrico Nov 24, 2025
f18f705
Add headers in conversions
fmrico Jan 10, 2026
04139b2
Fix doc in header
fmrico Jan 10, 2026
319f489
Merge pull request #18 from fmrico/headers_in_conversions
fmrico Jan 10, 2026
c4b4e26
Update CI to use container workers
Butakus Feb 3, 2026
5e01037
PCL private linkage: avoid Qt5/6 conflicts
estherag Feb 6, 2026
653361a
Merge remote-tracking branch 'butakus/rolling' into rvizQt6
estherag Feb 6, 2026
6c50808
Set Qt6 references and moc to proper plugin export
estherag Feb 6, 2026
4c12510
Fully commit to Qt6 only and cleanup CMake
Butakus Feb 9, 2026
09b6f6d
Merge pull request #20 from estherag/rvizQt6
Butakus Feb 11, 2026
4854c47
Fix test compilation error with rosidl::Buffer
Butakus Apr 29, 2026
7c3e2ef
Bump CI to Ubuntu 26
Butakus Apr 29, 2026
2e2451d
Fix rolling CI
Butakus Jun 21, 2026
2d155b5
CI: Merge rolling cron job into main rolling job
Butakus Jun 21, 2026
f7a8b94
Merge pull request #21 from Butakus/rolling
fmrico Jul 5, 2026
2b4abc7
Added CI for Lyrical
fmrico Jul 23, 2026
68fd4eb
Added CI for Lyrical
fmrico Jul 23, 2026
afe7159
Update version
fmrico Jul 25, 2026
eae9437
Update Changelog
fmrico Jul 25, 2026
01c42c3
0.5.0
fmrico Jul 25, 2026
db0b2eb
Merge branch 'jazzy' into humble-dev
juanscelyg Jul 31, 2026
8c12c64
Jazzy ports
juanscelyg Jul 31, 2026
240aa44
Merge branch 'rolling' into humble-dev
juanscelyg Jul 31, 2026
c047a44
Migration works
juanscelyg Jul 31, 2026
c5ddbac
Merge pull request #1 from juanscelyg/humble-dev
juanscelyg Jul 31, 2026
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
12 changes: 3 additions & 9 deletions .github/workflows/humble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,17 @@ on:
push:
branches:
- humble
schedule:
- cron: '0 0 * * 6'
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
fail-fast: false
runs-on: ubuntu-22.04
container:
image: ubuntu:jammy
steps:
- uses: actions/checkout@v4
with:
ref: humble
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.15
with:
required-ros-distributions: humble
- name: build and test
uses: ros-tooling/action-ros-ci@0.4.5
with:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/humble_cron.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: humble

on:
schedule:
- cron: '0 0 * * 6'
jobs:
build-and-test:
runs-on: ubuntu-22.04
container:
image: ubuntu:jammy
steps:
- uses: actions/checkout@v4
with:
ref: humble
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.15
- name: build and test
uses: ros-tooling/action-ros-ci@0.4.5
with:
package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin
target-ros2-distro: humble
ref: humble
colcon-defaults: |
{
"test": {
"parallel-workers" : 1
}
}
colcon-mixin-name: coverage-gcc
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- name: Codecov
uses: codecov/codecov-action@v5.4.0
with:
files: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
# yml: ./codecov.yml
fail_ci_if_error: false
12 changes: 3 additions & 9 deletions .github/workflows/jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,17 @@ on:
push:
branches:
- jazzy
schedule:
- cron: '0 0 * * 6'
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
fail-fast: false
runs-on: ubuntu-24.04
container:
image: ubuntu:noble
steps:
- uses: actions/checkout@v4
with:
ref: jazzy
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.15
with:
required-ros-distributions: jazzy
- name: build and test
uses: ros-tooling/action-ros-ci@0.4.5
with:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/jazzy_cron.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: jazzy

on:
schedule:
- cron: '0 0 * * 6'
jobs:
build-and-test:
runs-on: ubuntu-24.04
container:
image: ubuntu:noble
steps:
- uses: actions/checkout@v4
with:
ref: jazzy
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.15
- name: build and test
uses: ros-tooling/action-ros-ci@0.4.5
with:
package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin
target-ros2-distro: jazzy
ref: jazzy
colcon-defaults: |
{
"test": {
"parallel-workers" : 1
}
}
colcon-mixin-name: coverage-gcc
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- name: Codecov
uses: codecov/codecov-action@v5.4.0
with:
files: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
# yml: ./codecov.yml
fail_ci_if_error: false
12 changes: 3 additions & 9 deletions .github/workflows/kilted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,17 @@ on:
push:
branches:
- kilted
schedule:
- cron: '0 0 * * 6'
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
fail-fast: false
runs-on: ubuntu-24.04
container:
image: ubuntu:noble
steps:
- uses: actions/checkout@v4
with:
ref: kilted
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.15
with:
required-ros-distributions: kilted
- name: build and test
uses: ros-tooling/action-ros-ci@0.4.5
with:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/kilted_cron.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: kilted

on:
schedule:
- cron: '0 0 * * 6'
jobs:
build-and-test:
runs-on: ubuntu-24.04
container:
image: ubuntu:noble
steps:
- uses: actions/checkout@v4
with:
ref: kilted
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.15
- name: build and test
uses: ros-tooling/action-ros-ci@0.4.5
with:
package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin
target-ros2-distro: kilted
ref: kilted
colcon-defaults: |
{
"test": {
"parallel-workers" : 1
}
}
colcon-mixin-name: coverage-gcc
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- name: Codecov
uses: codecov/codecov-action@v5.4.0
with:
files: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
# yml: ./codecov.yml
fail_ci_if_error: false
42 changes: 42 additions & 0 deletions .github/workflows/lyrical.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: lyrical

on:
pull_request:
branches:
- lyrical
push:
branches:
- lyrical
schedule:
- cron: '0 0 * * 6'
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-26.04
container:
image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-resolute-ros-lyrical-ros-base:master
steps:
- uses: actions/checkout@v6
with:
ref: lyrical
- name: build and test
uses: ros-tooling/action-ros-ci@0.4.8
with:
package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin
target-ros2-distro: lyrical
colcon-defaults: |
{
"test": {
"parallel-workers" : 1
}
}
colcon-mixin-name: coverage-gcc
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- name: Codecov
uses: codecov/codecov-action@v5.4.0
with:
files: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
# yml: ./codecov.yml
fail_ci_if_error: false
19 changes: 7 additions & 12 deletions .github/workflows/rolling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,19 @@ on:
branches:
- rolling
schedule:
- cron: '0 0 * * 6'
- cron: '0 0 * * 6'
workflow_dispatch:
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
fail-fast: false
runs-on: ubuntu-26.04
container:
image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-resolute-ros-rolling-ros-base:master
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: rolling
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.15
with:
required-ros-distributions: rolling
- name: build and test
uses: ros-tooling/action-ros-ci@0.4.5
uses: ros-tooling/action-ros-ci@0.4.8
with:
package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin
target-ros2-distro: rolling
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# VS Code stuff
/.vscode/**
**/__pycache__/

# ROS 2 build files
build/
install/
log/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# NavMap
[![Doxygen Deployment](https://github.com/EasyNavigation/NavMap/actions/workflows/doxygen-doc.yml/badge.svg)](https://github.com/EasyNavigation/NavMap/actions/workflows/doxygen-doc.yml)
[![rolling](https://github.com/EasyNavigation/NavMap/actions/workflows/rolling.yaml/badge.svg?branch=rolling)](https://github.com/EasyNavigation/NavMap/actions/workflows/rolling.yaml)
[![lyrical](https://github.com/EasyNavigation/NavMap/actions/workflows/lyrical.yaml/badge.svg?branch=lyrical)](https://github.com/EasyNavigation/NavMap/actions/workflows/lyrical.yaml)
[![kilted](https://github.com/EasyNavigation/NavMap/actions/workflows/kilted.yaml/badge.svg?branch=kilted)](https://github.com/EasyNavigation/NavMap/actions/workflows/kilted.yaml)
[![jazzy](https://github.com/EasyNavigation/NavMap/actions/workflows/jazzy.yaml/badge.svg?branch=jazzy)](https://github.com/EasyNavigation/NavMap/actions/workflows/jazzy.yaml)
[![humble](https://github.com/EasyNavigation/NavMap/actions/workflows/humble.yaml/badge.svg?branch=humble)](https://github.com/EasyNavigation/NavMap/actions/workflows/humble.yaml)
Expand Down
17 changes: 17 additions & 0 deletions navmap_core/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
Changelog for package navmap_core
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.5.0 (2026-07-25)
------------------
* Update version
* Speedup the navcel location
* Cleanup unused headers
* Fix potential linker error and warning
* Merge branch 'jazzy' into rolling
* Contributors: Francisco Martín Rico, Francisco Miguel Moreno

0.4.0 (2025-11-24)
------------------
* Speedup the navcel location
* Cleanup unused headers
* Fix potential linker error and warning
* Merge branch 'jazzy' into rolling
* Contributors: Francisco Martín Rico, Francisco Miguel Moreno

0.2.5 (2025-10-17)
------------------

Expand Down
1 change: 0 additions & 1 deletion navmap_core/include/navmap_core/Geometry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <limits>
#include <cmath>
#include <algorithm>
#include <array>

namespace navmap
{
Expand Down
36 changes: 34 additions & 2 deletions navmap_core/include/navmap_core/NavMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@
#include <string>
#include <array>
#include <limits>
#include <stack>
#include <cmath>
#include <cstdint>
#include <span>
#include <type_traits>
#include <deque>
#include <algorithm>
Expand Down Expand Up @@ -199,6 +197,40 @@ struct LayerView : LayerViewBase
///@}
};

/** @cond INTERNAL */
namespace detail
{
inline std::uint64_t fnv1a64_bytes(
const void * data, std::size_t n,
std::uint64_t seed = 1469598103934665603ULL)
{
const auto * p = static_cast<const std::uint8_t *>(data);
std::uint64_t h = seed;
for (std::size_t i = 0; i < n; ++i) {
h ^= p[i]; h *= 1099511628211ULL;
}
return h;
}
} // namespace detail
/** @endcond */

template<typename T>
std::uint64_t LayerView<T>::content_hash() const
{
if (!hash_dirty_) {return hash_cache_;}
const std::size_t n = data_.size();
std::uint64_t h = navmap::detail::fnv1a64_bytes(&n, sizeof(n));
if (n) {
static_assert(
std::is_trivially_copyable<T>::value,
"LayerView<T> requires trivially copyable T.");
h = navmap::detail::fnv1a64_bytes(data_.data(), n * sizeof(T), h);
}
hash_cache_ = h;
hash_dirty_ = false;
return hash_cache_;
}

/**
* \brief Registry of named layers (per-NavCel).
*
Expand Down
2 changes: 1 addition & 1 deletion navmap_core/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>navmap_core</name>
<version>0.2.5</version>
<version>0.5.0</version>
<description>Core C++ library for NavMap.</description>
<maintainer email="fmrico@gmail.com">Francisco Martín Rico</maintainer>

Expand Down
Loading
Loading