This switches from using bind to lambda for setting up a timer callback. In the past month, ROS 2 tutorials have been all migrated to lambda.
Why? Placeholders are hard to read, and disables some compile time checks.
And: https://github.com/ros2/rclcpp/issues/1701
Purpose
This switches from using bind to lambda for setting up a timer callback. In the past month, ROS 2 tutorials have been all migrated to lambda. Why? Placeholders are hard to read, and disables some compile time checks. And: https://github.com/ros2/rclcpp/issues/1701
Risk
None