ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

This functionality was added to ros2cli recently in https://github.com/ros2/ros2cli/pull/749, and is available in ROS 2 Humble onwards!

You can do either:

{'header': 'auto'}

or:

{'header': {'stamp': 'now'}}