Function joint_limits::declare_parameters(const std::string&, const rclcpp::Node::SharedPtr&)

Function Documentation

inline bool joint_limits::declare_parameters(const std::string &joint_name, const rclcpp::Node::SharedPtr &node)

Declare JointLimits and SoftJointLimits parameters for joint with joint_name for the node object. This is a convenience function. For parameters structure see the underlying declare_parameters function.

Parameters:
  • joint_name[in] name of the joint for which parameters will be declared.

  • node[in] node for parameters should be declared.

Returns:

True if parameters are successfully declared, false otherwise.