-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Revert "Add support for spin_until_timeout (#1821)"" #1957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@SteveMacenski thanks for the review for all dependent packages. I will run CI on these changes. |
@fujitatomoya is this (and related PRs) still ready to be merged? |
@christophebedard there are conflicts, we need to rebase some of them. we have complete list on #1957 (comment). anyway i will check those again. |
Alright. Please note that the |
Signed-off-by: Tomoya Fujita <[email protected]>
447ba81
to
cde7a67
Compare
@hliberacki i fixed conflict on this PR synced with rolling, could you do the review just in case? |
Signed-off-by: Tomoya Fujita <[email protected]>
okay we have many deprecated warnings related to this PR. colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Debug --packages-select rclcpp rclcpp_actionroot@tomoyafujita:~/ros2_ws/colcon_ws# colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Debug --packages-select rclcpp rclcpp_action
Starting >>> rclcpp
[Processing: rclcpp]
[Processing: rclcpp]
[Processing: rclcpp]
--- stderr: rclcpp
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::MultiThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::StaticSingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::SingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::MultiThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::StaticSingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::SingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::MultiThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::StaticSingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::MultiThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::SingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::StaticSingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::SingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1: required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
300 | return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
336 | timer_executor.spin_until_future_complete(future);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
381 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp: In member function ‘virtual void TestParameterClient_async_parameter_load_parameters_complicated_regex_Test::TestBody()’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:985:56: warning: ‘rclcpp::FutureReturnCode rclcpp::spin_until_future_complete(std::shared_ptr<_Tp>, const FutureT&, std::chrono::duration<_Rep2, _Period2>) [with NodeT = rclcpp::Node; FutureT = std::shared_future<std::vector<rcl_interfaces::msg::SetParametersResult_<std::allocator<void> > > >; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(std::shared_ptr<NodeT>, const ConditionT &, DurationT) instead [-Wdeprecated-declarations]
985 | auto result_code = rclcpp::spin_until_future_complete(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
986 | load_node, load_future, std::chrono::milliseconds(100));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/rclcpp.hpp:155,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:25:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:194:1: note: declared here
194 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:991:37: warning: ‘rclcpp::FutureReturnCode rclcpp::spin_until_future_complete(std::shared_ptr<_Tp>, const FutureT&, std::chrono::duration<_Rep2, _Period2>) [with NodeT = rclcpp::Node; FutureT = std::shared_future<rcl_interfaces::msg::ListParametersResult_<std::allocator<void> > >; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(std::shared_ptr<NodeT>, const ConditionT &, DurationT) instead [-Wdeprecated-declarations]
991 | rclcpp::spin_until_future_complete(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
992 | load_node, list_parameters, std::chrono::milliseconds(100));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/rclcpp.hpp:155,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:25:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:194:1: note: declared here
194 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp: In member function ‘virtual void TestParameterClient_async_parameter_load_parameters_from_map_Test::TestBody()’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:1063:56: warning: ‘rclcpp::FutureReturnCode rclcpp::spin_until_future_complete(std::shared_ptr<_Tp>, const FutureT&, std::chrono::duration<_Rep2, _Period2>) [with NodeT = rclcpp::Node; FutureT = std::shared_future<std::vector<rcl_interfaces::msg::SetParametersResult_<std::allocator<void> > > >; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(std::shared_ptr<NodeT>, const ConditionT &, DurationT) instead [-Wdeprecated-declarations]
1063 | auto result_code = rclcpp::spin_until_future_complete(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
1064 | load_node, load_future, std::chrono::milliseconds(100));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/rclcpp.hpp:155,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:25:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:194:1: note: declared here
194 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:1069:37: warning: ‘rclcpp::FutureReturnCode rclcpp::spin_until_future_complete(std::shared_ptr<_Tp>, const FutureT&, std::chrono::duration<_Rep2, _Period2>) [with NodeT = rclcpp::Node; FutureT = std::shared_future<rcl_interfaces::msg::ListParametersResult_<std::allocator<void> > >; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(std::shared_ptr<NodeT>, const ConditionT &, DurationT) instead [-Wdeprecated-declarations]
1069 | rclcpp::spin_until_future_complete(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
1070 | load_node, list_parameters, std::chrono::milliseconds(100));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/rclcpp.hpp:155,
from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:25:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:194:1: note: declared here
194 | spin_until_future_complete(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
---
Finished <<< rclcpp [1min 39s]
Starting >>> rclcpp_action
Finished <<< rclcpp_action [16.2s]
Summary: 2 packages finished [1min 56s]
1 package had stderr output: rclcpp
|
Signed-off-by: Tomoya Fujita <[email protected]>
This should be good to go, local test with |
Could we pick this back up? |
Very much please 😄 I want this in Jazzy |
I've opened #2475 to replace this PR. |
I'm going to close this one, as it is replaced by #2475 |
Reverts #1956
An un-revert of #1874, see #1874 (comment).