Skip to content

Inaccurate init method description in JointLimiterInterface. #3410

Description

@MARIANOCEREDA

The docstring from the init method from JointLimiterInterface is a bit inaccurate.

In particular:

/**
   * Wrapper init method that accepts the joint names and their limits directly
   */
   ...
 virtual bool init(
    const std::vector<std::string> & joint_names,
    const std::vector<joint_limits::JointLimits> & joint_limits,
    const std::vector<joint_limits::SoftJointLimits> & soft_joint_limits,
    const rclcpp::node_interfaces::NodeParametersInterface::SharedPtr & param_itf,
    const rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr & logging_itf)
    ....

This overload also takes soft_joint_limits, not just names and limits as mentioned in the docstring. For instance:

/**
   *  Wrapper init method that accepts the joint names, their limits directly, and the soft joint limits.
   */

Metadata

Metadata

Assignees

Type

No type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions