Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: yamato-ando <Yamato ANDO>
  • Loading branch information
yamato-ando authored and yamato-ando committed Nov 16, 2023
1 parent 2e6b2f3 commit d0ce017
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void LidarMarkerLocalizer::points_callback(
geometry_msgs::msg::PoseStamped marker_pose_on_base_link;
marker_pose_on_base_link.header.stamp = sensor_ros_time;
marker_pose_on_base_link.header.frame_id = "base_link";
marker_pose_on_base_link.pose.position.x = (i - dx / 2) * resolution;
marker_pose_on_base_link.pose.position.x = i * resolution + min_x;
marker_pose_on_base_link.pose.position.y = distance[i];
marker_pose_on_base_link.pose.position.z = 0.2 + 1.75 / 2.0; // TODO
marker_pose_on_base_link.pose.orientation =
Expand Down

0 comments on commit d0ce017

Please sign in to comment.