ros1_bridge icon indicating copy to clipboard operation
ros1_bridge copied to clipboard

Replace deprecated spin_until_future_complete with spin_until_complete

Open hliberacki opened this issue 2 years ago • 11 comments

Signed-off-by: Hubert Liberacki [email protected]

hliberacki avatar Mar 31 '22 15:03 hliberacki

Due to change in RCLCPP - https://github.com/ros2/rclcpp/pull/1874 Pull request

hliberacki avatar Mar 31 '22 15:03 hliberacki

Running CI: Build Status

gbiggs avatar Mar 31 '22 22:03 gbiggs

It looks like you missed one.

gbiggs avatar Apr 01 '22 22:04 gbiggs

It looks like you missed one.

Sorry, but which one do you mean? I've checked (hopefully correctly) and there is only a single call to spin_until_future_complete in this repository ;). Unless you meant something else

hliberacki avatar Apr 02 '22 19:04 hliberacki

The offending function is at ros1_bridge/test/test_ros2_client.cpp:36. And I made a mistake, it's not one you missed, it appears to be a missing include. Check the bottom of this output log.

gbiggs avatar Apr 03 '22 22:04 gbiggs

The offending function is at ros1_bridge/test/test_ros2_client.cpp:36. And I made a mistake, it's not one you missed, it appears to be a missing include. Check the bottom of this output log.

yes, that was because my changes to rclcpp are still not merged yet. Since the old method needs to be deprecated when new is introduced - merging it first would cause a warning which would break the ci.

the main PR has CI with all of my changes :)

hliberacki avatar Apr 04 '22 05:04 hliberacki

https://github.com/ros2/rclcpp/pull/1874#issuecomment-1086906375 Passing CI with all related PRs linked and build together.

hliberacki avatar Apr 04 '22 13:04 hliberacki

Just noting here that this is still pending the merge of:

  • https://github.com/ros2/rclcpp/pull/1874

methylDragon avatar May 19 '22 18:05 methylDragon

Since rclcpp#1874 has been merged, let's try a CI run.

Build Status

gbiggs avatar Jun 29 '22 23:06 gbiggs

Since rclcpp#1874 has been merged, let's try a CI run.

Build Status

Sorry for the confusion, unfortunately there were dependencies which should've been merged together, and due to the fact that there are review findings in rclpy - this PR was reverted until all PRs are in correct shape. rclcpp#1874 - has all desprition about it.

hliberacki avatar Jul 01 '22 11:07 hliberacki

That explains the failing CI then. Ping this PR when it's ready to go, then, so I don't forget about it.

gbiggs avatar Jul 04 '22 00:07 gbiggs