Open christophebedard opened 2 months ago
I've updated this PR to reflect the decision in https://github.com/ros2/rclcpp/pull/2475#discussion_r1550080593 to not deprecate spin_until_future_complete
and not have spin_until_complete
accept both a future and a condition.
@fujitatomoya could you review this? This reflects the new changes to https://github.com/ros2/rclcpp/pull/2475, which should be final-ish now.
Well this may be going in yet another direction (https://github.com/ros2/rclcpp/pull/2475#discussion_r1559540603), so let's wait a bit.
Well this may be going in yet another direction (ros2/rclcpp#2475 (comment)), so let's wait a bit.
All good now, this is ready for review.
Part of https://github.com/ros2/rclcpp/pull/2475
Replaces #919
Similar to the
rclcpp
changes, this addsspin_until_complete(condition, timeout)
.This also adds
spin_for
.