Skip to content

Fixes #63#64

Merged
rsasaki0109 merged 6 commits intorsasaki0109:mainfrom
abudori3939:main
Jul 11, 2025
Merged

Fixes #63#64
rsasaki0109 merged 6 commits intorsasaki0109:mainfrom
abudori3939:main

Conversation

@abudori3939
Copy link
Contributor

Overview

This PR resolves the bug where the map->odom transform was being published without a timestamp.

I apologize for the oversight in the previous PR.

Changes

  • In src/lidar_localization_component.cpp, within the else block for enable_map_odom_tf, I added the following line to set the timestamp for the map_to_odom_stamped message:
  map_to_odom_stamped.header.stamp = msg->header.stamp;

This ensures the transform is correctly timestamped, allowing it to be properly used by other nodes like Navigation2.

@rsasaki0109
Copy link
Owner

No need to apologize. Rather, thanks for the quick response. I’ll take a look tomorrow.

@rsasaki0109 rsasaki0109 merged commit 3e87945 into rsasaki0109:main Jul 11, 2025
2 checks passed
@rsasaki0109
Copy link
Owner

Merged it now. Thanks again!

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.

2 participants