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.
*/
The docstring from the
initmethod fromJointLimiterInterfaceis a bit inaccurate.In particular:
This overload also takes
soft_joint_limits, not just names and limits as mentioned in the docstring. For instance: