|
/// Returns current time from the time source specified by clock_type. |
|
/** |
|
* \sa rclcpp::Clock::now |
|
*/ |
|
RCLCPP_PUBLIC |
|
Time |
|
now() const; |
Notice how "clock_type" is never referenced in the node.hpp file.
I believe this is a copy-paste from rclcpp::Clock::now() method docstring.
Maybe it's better to say something like:
Returns current time from the node time source.
If `use_sim_time` parameter is set to `true` while
constructing the `Node`, the simulation time is returned,
otherwise system time is returned.
rclcpp/rclcpp/include/rclcpp/node.hpp
Lines 1433 to 1439 in e646270
Notice how "clock_type" is never referenced in the
node.hppfile.I believe this is a copy-paste from
rclcpp::Clock::now()method docstring.Maybe it's better to say something like: