Skip to content

Commit

Permalink
Merge pull request #114 from peci1/patch-1
Browse files Browse the repository at this point in the history
Fix timestamp of maps
  • Loading branch information
Timple authored May 1, 2023
2 parents 9fc5a82 + 8290ca8 commit 65bae6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aerialmap_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ void AerialMapDisplay::transformMapTileToFixedFrame()
Ogre::Vector3 t_centertile_fixed;

auto header = center_tile_pose_.header;
header.stamp = ros::Time::now();
header.stamp = ros::Time(); // ros::Time::now() would be wrong, see the discussion in #105
const auto& frame_name = header.frame_id;

auto tile_pose = center_tile_pose_.pose;
Expand Down

0 comments on commit 65bae6b

Please sign in to comment.