Skip to content

fix: Auto-populate header.stamp when header omitted (backport #1220)#1223

Merged
bjsowa merged 2 commits intohumblefrom
mergify/bp/humble/pr-1220
Apr 14, 2026
Merged

fix: Auto-populate header.stamp when header omitted (backport #1220)#1223
bjsowa merged 2 commits intohumblefrom
mergify/bp/humble/pr-1220

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify bot commented Apr 14, 2026

Public API Changes
None

Description
rosbridge already fills the header.stamp field with a current time when stamp is omitted but it doesn't work in situation when client omits the entire header. This PR fixes this issue. It also clarifies the usage of "now" string in stamp fields and adds tests that check the behavior.


This is an automatic backport of pull request #1220 done by Mergify.

* docs: Clarify special handling of time fields

* Add tests for header and time fields population

* fix: Auto-populate header.stamp when header omitted

* fix: Validate header type in populate_instance function

(cherry picked from commit 42ce055)
@bjsowa bjsowa merged commit b173e0d into humble Apr 14, 2026
5 checks passed
@bjsowa bjsowa deleted the mergify/bp/humble/pr-1220 branch April 14, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant