From a7f05a904ac499b55ca1b13ac30bc08f03c6900c Mon Sep 17 00:00:00 2001 From: Patrick Roncagliolo Date: Wed, 4 Dec 2024 18:24:50 +0100 Subject: [PATCH] Update docstring for `rclcpp::Node::now()` (#2696) Signed-off-by: Patrick Roncagliolo --- rclcpp/include/rclcpp/node.hpp | 2 +- rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rclcpp/include/rclcpp/node.hpp b/rclcpp/include/rclcpp/node.hpp index 930bf419f1..37f78e8351 100644 --- a/rclcpp/include/rclcpp/node.hpp +++ b/rclcpp/include/rclcpp/node.hpp @@ -1430,7 +1430,7 @@ class Node : public std::enable_shared_from_this rclcpp::Clock::ConstSharedPtr get_clock() const; - /// Returns current time from the time source specified by clock_type. + /// Returns current time from the node clock. /** * \sa rclcpp::Clock::now */ diff --git a/rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp b/rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp index d63cc726f9..6e196c887b 100644 --- a/rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp +++ b/rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp @@ -731,7 +731,7 @@ class LifecycleNode : public node_interfaces::LifecycleNodeInterface, rclcpp::Clock::ConstSharedPtr get_clock() const; - /// Returns current time from the time source specified by clock_type. + /// Returns current time from the node clock. /** * \sa rclcpp::Clock::now */