Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
roncapat authored Dec 4, 2024
1 parent 38906d0 commit ae5b7b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions rclcpp/include/rclcpp/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1430,11 +1430,8 @@ class Node : public std::enable_shared_from_this<Node>
rclcpp::Clock::ConstSharedPtr
get_clock() const;

/// Returns current time from the node time source.
/// Returns current time from the node clock.
/**
* If `use_sim_time` parameter is set to `true` the simulation time is returned,
* otherwise system time is returned.
*
* \sa rclcpp::Clock::now
*/
RCLCPP_PUBLIC
Expand Down
5 changes: 1 addition & 4 deletions rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,11 +731,8 @@ class LifecycleNode : public node_interfaces::LifecycleNodeInterface,
rclcpp::Clock::ConstSharedPtr
get_clock() const;

/// Returns current time from the node time source.
/// Returns current time from the node clock.
/**
* If `use_sim_time` parameter is set to `true` the simulation time is returned,
* otherwise system time is returned.
*
* \sa rclcpp::Clock::now
*/
RCLCPP_LIFECYCLE_PUBLIC
Expand Down

0 comments on commit ae5b7b7

Please sign in to comment.