Skip to content
Merged
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 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 @@ -96,10 +96,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 parameter_traits rclcpp rclcpp_lifecycle rsl tcb_span tl_expected)
ament_export_dependencies(
fmt parameter_traits 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 @@ -32,6 +32,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 @@ -24,6 +24,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