Function joint_limits::declare_parameters(const std::string&, const rclcpp_lifecycle::LifecycleNode::SharedPtr&)

Function Documentation

inline bool joint_limits::declare_parameters(const std::string &joint_name, const rclcpp_lifecycle::LifecycleNode::SharedPtr &lifecycle_node)

Declare JointLimits and SoftJointLimits parameters for joint with joint_name for the lifecycle_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.

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

Returns:

True if parameters are successfully declared, false otherwise.