Skip to content

Commit

Permalink
Merge pull request #8 from ICube-Robotics/(tpoignonec)set_version_0.2.1
Browse files Browse the repository at this point in the history
Set version 0.2.1
  • Loading branch information
tpoignonec committed Apr 24, 2024
2 parents 26317a6 + 8e9fdbe commit 594d559
Show file tree
Hide file tree
Showing 37 changed files with 3,623 additions and 3,453 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#
# See https://github.com/pre-commit/pre-commit

exclude: 'acados_solver_base/test/mock_acados_solver/generated_c_code/.*'
exclude: 'acados_solver_base/test/mock_acados_solver/*'
repos:
# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@

# Change Log

## [0.2.1] - 2024-04-24

### Added

### Changed

- Acados vendor ros2 v0.3.0 -> v0.3.2

### Fixed

- [PR #7](https://github.com/ICube-Robotics/acados_solver_ros2/pull/7) Fixed `utils::get_stats_cost_value()` getter.

- [PR #6](https://github.com/ICube-Robotics/acados_solver_ros2/pull/6) Fixed `AcadosSolver::set_runtime_parameters()` getter.

- Fixed CI for doc generation.

## [0.2.0] - 2024-02-14

Note: the URL has changed from `https://github.com/tpoignonec/acados_controllers_ros2` to `https://github.com/ICube-Robotics/acados_solver_ros2`. See [PR #1 (acados_solver_ros2)](https://github.com/tpoignonec/acados_solver_ros2/pull/1)
Expand Down
7 changes: 4 additions & 3 deletions acados_solver_base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ if(BUILD_TESTING)
set(ament_cmake_copyright_FOUND TRUE)
set(ament_cmake_cpplint_FOUND TRUE)

set(C_CODE_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/test/mock_acados_solver/generated_c_code)
set(MOCK_SOLVER_DIR ${CMAKE_CURRENT_SOURCE_DIR}/test/mock_acados_solver)
file(GLOB_RECURSE AMENT_LINT_AUTO_FILE_EXCLUDE
# Exclude auto generated c-code and CMakeLists
${C_CODE_TEST_DIR}/**
${MOCK_SOLVER_DIR}/**
)
ament_lint_auto_find_test_dependencies()

# Test solver interface
find_package(ament_cmake_gmock REQUIRED)
ament_add_gmock(
test_acados_solver_base
test/mock_acados_solver/mock_acados_solver.cpp
Expand All @@ -75,7 +76,7 @@ if(BUILD_TESTING)
# Link generated C-code
target_link_libraries(test_acados_solver_base
${PROJECT_NAME}
${C_CODE_TEST_DIR}/libacados_ocp_solver_mock_acados_solver.so
${MOCK_SOLVER_DIR}/generated_c_code/libacados_ocp_solver_mock_acados_solver.so
)
endif()

Expand Down
3 changes: 2 additions & 1 deletion acados_solver_base/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>acados_solver_base</name>
<version>0.2.0</version>
<version>0.2.1</version>
<description>Base class for Acados solvers plugins (pluginlib). See "acados_solver_plugins" for available plugins and generating new ones.</description>
<maintainer email="[email protected]">Thibault Poignonec</maintainer>
<license>Apache License 2.0</license> <!-- the contents of this package are Apache 2.0 -->
Expand All @@ -18,6 +18,7 @@

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<test_depend>ament_cmake_gmock</test_depend>

<export>
<build_type>ament_cmake</build_type>
Expand Down
Loading

0 comments on commit 594d559

Please sign in to comment.