Function cras::getYear(const ::rclcpp::Time&)
Defined in File time_utils.hpp
Function Documentation
-
int cras::getYear(const ::rclcpp::Time &time)
Get the year represented by the given ROS time when interpreted as UTC time.
- Parameters:
time – [in] The ROS time.
- Returns:
The year.