Skip to content

Build warnings on Galactic #27

Description

@edhage

In behavior_tree_nodes/Move.cpp you have declared on line 42 and 42:
node->declare_parameter("waypoints");
node->declare_parameter("waypoint_coords");

WARNING: ‘const rclcpp::ParameterValue& rclcpp::Node::declare_parameter(const string&)’ is deprecated: declare_parameter() with only a name is deprecated and will be deleted in the future.\nIf you want to declare a parameter that won't change type without a default value use:\nnode->declare_parameter<ParameterT>(name), where e.g. ParameterT=int64_t.\n\nIf you want to declare a parameter that can dynamically change type use:\n\nrcl_interfaces::msg::ParameterDescriptor descriptor;\ndescriptor.dynamic_typing = true;\nnode->declare_parameter(name, rclcpp::ParameterValue{}, descriptor);\n [-Wdeprecated-declarations]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions