Skip to content

Commit f16ce6d

Browse files
kenji-miyakeaprotyas
authored andcommitted
Update rclcpp/include/rclcpp/node.hpp
Co-authored-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu> Update rclcpp/include/rclcpp/node.hpp Co-authored-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu> Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
1 parent da42a50 commit f16ce6d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

rclcpp/include/rclcpp/node.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -720,10 +720,9 @@ class Node : public std::enable_shared_from_this<Node>
720720
ParameterT & parameter,
721721
const ParameterT & alternative_value) const;
722722

723-
/// Get the parameter value, or the "alternative_value" if not set, and assign it to "parameter".
723+
/// Return the parameter value, or the "alternative_value" if not set.
724724
/**
725-
* If the parameter was not set, then the "parameter" argument is assigned
726-
* the "alternative_value".
725+
* If the parameter was not set, then the "alternative_value" argument is returned.
727726
*
728727
* This method will not throw the rclcpp::exceptions::ParameterNotDeclaredException exception.
729728
*

0 commit comments

Comments
 (0)