ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
ROS2 uses std for bind and most other things that used to use Boost in ROS1. So that line would work as you expect with std::bind
.
A practical example in ROS2 can be seen in Nav2's lifecycle manager https://github.com/ros-planning/navigation2/blob/30b405c58e6d53ba8c96381416bc4679d35a1483/nav2_lifecycle_manager/src/lifecycle_manager.cpp#L318-L320