Skip to content

Commit

Permalink
Update rclcpp/include/rclcpp/node.hpp
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
2 people authored and mergify-bot committed Dec 8, 2021
1 parent da42a50 commit f16ce6d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rclcpp/include/rclcpp/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -720,10 +720,9 @@ class Node : public std::enable_shared_from_this<Node>
ParameterT & parameter,
const ParameterT & alternative_value) const;

/// Get the parameter value, or the "alternative_value" if not set, and assign it to "parameter".
/// Return the parameter value, or the "alternative_value" if not set.
/**
* If the parameter was not set, then the "parameter" argument is assigned
* the "alternative_value".
* If the parameter was not set, then the "alternative_value" argument is returned.
*
* This method will not throw the rclcpp::exceptions::ParameterNotDeclaredException exception.
*
Expand Down

0 comments on commit f16ce6d

Please sign in to comment.