Skip to content

Commit c02848a

Browse files
esteveclalancette
andauthored
Add note about ros2topic auto and now keywords (ros2#2998)
* Add note about ros2topic auto and now keywords Signed-off-by: Esteve Fernandez <[email protected]> Co-authored-by: Chris Lalancette <[email protected]>
1 parent 83faf0c commit c02848a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

source/Releases/Release-Iron-Irwini.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,16 @@ To come.
4141
New features in this ROS 2 release
4242
----------------------------------
4343

44-
To come.
44+
ros2topic
45+
^^^^^^^^^
46+
47+
`now` as keyword for `builtin_interfaces.msg.Time` and `auto` for `std_msgs.msg.Header`
48+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
49+
`ros2 topic pub` now allows to set a `builtin_interfaces.msg.Time` message to the current time via the `now` keyword.
50+
Similarly, a `std_msg.msg.Header` message will be automatically generated when passed the keyword `auto`.
51+
This behavior matches that of ROS 1's `rostopic` (http://wiki.ros.org/ROS/YAMLCommandLine#Headers.2Ftimestamps)
52+
53+
Related PR: `ros2/ros2cli#749 <https://github.com/ros2/ros2cli/pull/749>`_
4554

4655
Changes since the Humble release
4756
----------------------------------

0 commit comments

Comments
 (0)