← Back to packages

Package builtin_interfaces.msg.pb.jazzy

Message Duration

Message Time

Messages

message Duration third_party/ros2/ros_interfaces/jazzy/builtin_interfaces/msg/duration.proto

Duration defines a period between two time points. Messages of this datatype are of ROS Time following this design: https://design.ros2.org/articles/clock_and_time.html

Field Type Description
1 sec sfixed32

The seconds component, valid over all int32 values.

2 nanosec fixed32

The nanoseconds component, valid in the range [0, 1e9), to be added to the seconds component. e.g. The duration -1.7 seconds is represented as {sec: -2, nanosec: 3e8} The duration 1.7 seconds is represented as {sec: 1, nanosec: 7e8}

message Time third_party/ros2/ros_interfaces/jazzy/builtin_interfaces/msg/time.proto

This message communicates ROS Time defined here: https://design.ros2.org/articles/clock_and_time.html

Field Type Description
1 sec sfixed32

The seconds component, valid over all int32 values.

2 nanosec fixed32

The nanoseconds component, valid in the range [0, 1e9), to be added to the seconds component. e.g. The time -1.7 seconds is represented as {sec: -2, nanosec: 3e8} The time 1.7 seconds is represented as {sec: 1, nanosec: 7e8}