Skip to content

Commit

Permalink
Update & add ros2param
Browse files Browse the repository at this point in the history
  • Loading branch information
asherikov committed Jun 29, 2024
1 parent 7f312a4 commit 51f7c83
Show file tree
Hide file tree
Showing 191 changed files with 3,820 additions and 18,791 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/catkin_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
container: ros:noetic-ros-base-focal
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
source /opt/ros/noetic/setup.bash
make catkin_test_old ROS_DISTRO=noetic UBUNTU_DISTRO=focal
Expand All @@ -19,17 +19,29 @@ jobs:
container: ros:noetic-ros-base-focal
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
source /opt/ros/noetic/setup.bash
make catkin_test_new ROS_DISTRO=noetic UBUNTU_DISTRO=focal
prerelease:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make ros_prerelease ROS_DISTRO=noetic UBUNTU_DISTRO=focal BRANCH=`git branch --show-current`
env:
CCACHE_DIR: ${GITHUB_WORKSPACE}/.ccache

jammy_ccws:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
repository: asherikov/ccws
- uses: actions/checkout@v4
with:
path: src/ariles_catkin
- run: make bp_install_build BUILD_PROFILE=reldebug
- run: make ariles2_ros2param_catkin
251 changes: 0 additions & 251 deletions ariles/.travis.yml.disable

This file was deleted.

33 changes: 31 additions & 2 deletions ariles/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,42 @@
CHANGELOG
=========

Unreleased
==========
2.2.0
=====

Added
-----
* aggregate visitor: container for multiple visitors applied sequentially.
* ros2param visitor: ROS2 parameters support.

Changed
-------
* Switched to C++17.
* Disable sanitizers: broken in Ubuntu, a workaround needed.

Fixed
-----
* Matrix reading logic.
* Exception messages.
* Null pointer handling.

Removed
-------
* `ARILES_CPP_STANDARD` cmake option.
* `ARILES2_INCLUDED` define.


2.1.0
=====

Added
-----
* Writers now take `allow_missing_entries_` parameter into account, omitting
'missing' entries, e.g., null pointers.
* Searching for `yaml-cpp` and `msgpack` with `find_package()`.
* `ARILES_CPP_STANDARD` cmake flag.
* `ariles::write::Parameters`: +`allow_missing_entries_`
* `OptionalPointer` wrapper class for pointers that can be NULL if entry is missing.

Removed
-------
Expand Down
19 changes: 6 additions & 13 deletions ariles/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General parameters
cmake_minimum_required (VERSION 3.0.0)
project(ariles2 VERSION 2.0.3)
cmake_minimum_required (VERSION 3.1.0)
project(ariles2 VERSION 2.2.0)


set(ARILES_HOMEPAGE http://asherikov.github.io/ariles/2)
Expand Down Expand Up @@ -209,10 +209,12 @@ set(CMAKEUT_CPP_SANITIZERS ${ARILES_CPP_SANITIZERS})
set(CMAKEUT_CLANG_TIDY ${ARILES_CPP_CLANG_TIDY})
set(CMAKEUT_CLANG_TIDY_EXTRA_IGNORES
"-cppcoreguidelines-special-member-functions,-hicpp-special-member-functions,-altera-struct-pack-align,-llvm-namespace-comment,-misc-no-recursion,-readability-const-return-type,-google-default-arguments,-bugprone-macro-parentheses,-cppcoreguidelines-pro-type-union-access,-hicpp-named-parameter,-readability-named-parameter,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-avoid-non-const-global-variables,-cert-err58-cpp,-cert-env33-c")
cmakeut_compiler_flags("c++11")
set(CMAKE_CXX_STANDARD "17")
cmakeut_compiler_flags("c++${CMAKE_CXX_STANDARD}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKEUT_CXX_FLAGS}")



set (RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
set (LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
set (ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
Expand Down Expand Up @@ -277,6 +279,7 @@ if (${ARILES_ENABLE_CORE})
"$<INSTALL_INTERFACE:include/>"
"$<INSTALL_INTERFACE:${ARILES_CORE_DEPENDENCY_INCLUDES}>"
)
target_compile_features(${PROJECT_NAME}-core INTERFACE "cxx_std_${CMAKE_CXX_STANDARD}")


# --------------
Expand Down Expand Up @@ -311,16 +314,6 @@ if (${ARILES_ENABLE_CORE})
# --------------


# --------------
# cpput
# --------------
set(CPPUT_EMBEDDED ON CACHE BOOL "" FORCE)
set(CPPUT_EMBEDDED_ID "ARILES2" CACHE STRING "" FORCE)
set(CPPUT_EMBEDDED_COPY_TO_DIR "${ARILES_CORE_BUILD_INCLUDES}/${PROJECT_NAME}/internal/" CACHE STRING "" FORCE)
set(CPPUT_SELECT_HEADERS "config.h;exception.h;visibility.h;misc.h;trace.h" CACHE STRING "" FORCE)
add_subdirectory(cpput)
# --------------

list(APPEND DEB_ARCHIVE_FILES "./include" "./extra_adapters")


Expand Down
Loading

0 comments on commit 51f7c83

Please sign in to comment.