Skip to content

Commit

Permalink
Update src/test_tif_loader.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan <[email protected]>
  • Loading branch information
Jaeyoung-Lim and Ryanf55 authored Jan 18, 2024
1 parent bbf65f1 commit a67ab01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test_tif_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ class MapPublisher : public rclcpp::Node {
geometry_msgs::msg::TransformStamped static_transformStamped;
static_transformStamped.header.frame_id = map_->getCoordinateName();
static_transformStamped.child_frame_id = map_->getGridMap().getFrameId();
static_transformStamped.transform.translation.x = map_origin(0);
static_transformStamped.transform.translation.y = map_origin(1);
static_transformStamped.transform.translation.x = map_origin.x();
static_transformStamped.transform.translation.y = map_origin.y();
static_transformStamped.transform.translation.z = 0.0;
static_transformStamped.transform.rotation.x = 0.0;
static_transformStamped.transform.rotation.y = 0.0;
Expand Down

0 comments on commit a67ab01

Please sign in to comment.