rcl_interfaces icon indicating copy to clipboard operation
rcl_interfaces copied to clipboard

Naming of fields for Time message is inconsistent with rclcpp::Time

Open YoshuaNava opened this issue 3 months ago • 3 comments

I'm working with both builtin_interfaces/msg/Time and rclcpp::Time, and I found that the naming of the fields is inconsistent between them:

  • For rclcpp::Time fields are called seconds and nanoseconds
  • But for builtin_interfaces::msg::Time fields are called sec and nanosec.

Would it be possible for both time representations to use the same field names? If possible I would suggest following the convention from rclcpp::Time, which uses full yet succint names.

Thank you in advance! :pray:

Yoshua

YoshuaNava avatar May 02 '24 14:05 YoshuaNava