Skip to content

Commit 6084127

Browse files
authored
Lifecycle node updated also
1 parent 8e441ca commit 6084127

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

rclcpp/include/rclcpp/node.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ class Node : public std::enable_shared_from_this<Node>
14341434
/**
14351435
* If `use_sim_time` parameter is set to `true` the simulation time is returned,
14361436
* otherwise system time is returned.
1437-
1437+
*
14381438
* \sa rclcpp::Clock::now
14391439
*/
14401440
RCLCPP_PUBLIC

rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,11 @@ class LifecycleNode : public node_interfaces::LifecycleNodeInterface,
731731
rclcpp::Clock::ConstSharedPtr
732732
get_clock() const;
733733

734-
/// Returns current time from the time source specified by clock_type.
734+
/// Returns current time from the node time source.
735735
/**
736+
* If `use_sim_time` parameter is set to `true` the simulation time is returned,
737+
* otherwise system time is returned.
738+
*
736739
* \sa rclcpp::Clock::now
737740
*/
738741
RCLCPP_LIFECYCLE_PUBLIC

0 commit comments

Comments
 (0)