Skip to content

Deprecated functions (warnings) #397

Description

@Butakus

Hi,

When building the rolling version, I get warning messages about these deprecated functions:

warning: ‘std::string ament_index_cpp::get_package_share_directory(const std::string&)’ is deprecated: Use get_package_share_directory(..., std::filesystem::path) instead

...

warning: ‘void rclcpp::spin_some(Node::SharedPtr)’ is deprecated: use SingleThreadedExecutor::spin_some instead

...

warning: ‘plansys2::ActionExecutorClient::ActionExecutorClient(const std::string&, const std::chrono::nanoseconds&)’ is deprecated: Use ActionExecutorClient(const std::string & node_name) instead

The fix should be pretty straightforward if anyone wants to contribute. I may be able to take it myself in a few weeks if no one does it before.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions