mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-05 17:27:46 +08:00
rclcpp::executor is deprecated
This commit is contained in:
@@ -136,7 +136,7 @@ bool PreferencesDialogROS::readCoreSettings(const QString & filePath)
|
||||
{
|
||||
auto parameters = client->get_parameters(rosParameters);
|
||||
if (rclcpp::spin_until_future_complete(node, parameters, std::chrono::seconds(5)) ==
|
||||
rclcpp::executor::FutureReturnCode::SUCCESS)
|
||||
rclcpp::FutureReturnCode::SUCCESS)
|
||||
{
|
||||
for (auto & parameter : parameters.get()) {
|
||||
const std::string & key = parameter.get_name();
|
||||
@@ -191,4 +191,3 @@ void PreferencesDialogROS::writeCoreSettings(const QString & filePath) const
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user