Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/rolling-semi-binary-build-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-ros-tooling-win-build.yml@master
with:
ros_distro: rolling
pixi_dependencies: typeguard jinja2 compilers
pixi_dependencies: typeguard jinja2 compilers cpp-expected
ninja_packages: rsl
target_cmake_args: -DBUILD_TESTING=OFF
windows_dependencies: generate_parameter_library.rolling.repos
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Here is an example custom validator.
#include <rclcpp/rclcpp.hpp>

#include <fmt/core.h>
#include <tl_expected/expected.hpp>
#include <tl/expected.hpp>

namespace my_project {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <string>

#include <rclcpp/rclcpp.hpp>
#include <tl_expected/expected.hpp>
#include <tl/expected.hpp>

namespace custom_validators {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,21 @@ macro(generate_parameter_library LIB_NAME YAML_FILE)
rclcpp_lifecycle::rclcpp_lifecycle
rsl::rsl
tcb_span::tcb_span
tl::expected
# for backward compatibility
# remove once this redirection is removed
# https://github.com/PickNikRobotics/cpp_polyfills/pull/12
tl_expected::tl_expected
)
install(DIRECTORY ${LIB_INCLUDE_DIR} DESTINATION include)
ament_export_dependencies(fmt rclcpp rclcpp_lifecycle rsl tcb_span tl_expected)
ament_export_dependencies(
fmt rclcpp rclcpp_lifecycle rsl tcb_span
tl-expected
# for backward compatibility
# remove once this redirection is removed
# https://github.com/PickNikRobotics/cpp_polyfills/pull/12
tl_expected
)
endmacro()


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ find_package(rclcpp REQUIRED)
find_package(rsl REQUIRED)
find_package(rclcpp_lifecycle REQUIRED)
find_package(tcb_span REQUIRED)
find_package(tl-expected REQUIRED)
# for backward compatibility
# remove once this redirection is removed
# https://github.com/PickNikRobotics/cpp_polyfills/pull/12
find_package(tl_expected REQUIRED)

include("${generate_parameter_library_DIR}/generate_parameter_library.cmake")
5 changes: 5 additions & 0 deletions generate_parameter_library/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
<depend>rclcpp_lifecycle</depend>
<depend>rsl</depend>
<depend>tcb_span</depend>
<depend>libexpected-dev</depend>

<!-- for backward compatibility -->
<!-- remove once this redirection is removed -->
<!-- https://github.com/PickNikRobotics/cpp_polyfills/pull/12 -->
<depend>tl_expected</depend>

<export>
Expand Down
Loading