Skip to content

Commit

Permalink
(minor) Change "/map" to "map"
Browse files Browse the repository at this point in the history
  • Loading branch information
LimHyungTae committed Aug 18, 2023
1 parent 7bbf9b8 commit 6395d39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/patchwork/patchwork.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class PatchWork {
num_rings_of_interest_ = elevation_thr_.size();

node_handle_.param("/patchwork/visualize", visualize_, true);
poly_list_.header.frame_id = "/map";
poly_list_.header.frame_id = "map";
poly_list_.polygons.reserve(130000);

reverted_points_by_flatness_.reserve(NUM_HEURISTIC_MAX_PTS_IN_PATCH);
Expand Down Expand Up @@ -698,11 +698,11 @@ void PatchWork<PointT>::estimate_ground(
sensor_msgs::PointCloud2 cloud_ROS;
pcl::toROSMsg(reverted_points_by_flatness_, cloud_ROS);
cloud_ROS.header.stamp = ros::Time::now();
cloud_ROS.header.frame_id = "/map";
cloud_ROS.header.frame_id = "map";
RevertedCloudPub.publish(cloud_ROS);
pcl::toROSMsg(rejected_points_by_elevation_, cloud_ROS);
cloud_ROS.header.stamp = ros::Time::now();
cloud_ROS.header.frame_id = "/map";
cloud_ROS.header.frame_id = "map";
RejectedCloudPub.publish(cloud_ROS);
}
PlanePub.publish(poly_list_);
Expand Down
2 changes: 1 addition & 1 deletion launch/offline_kitti.launch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<rosparam param="/end_frame">10000</rosparam>
<rosparam param="/data_path">"/media/shapelim/UX960NVMe11/kitti_semantic/dataset/sequences/04"</rosparam>
</node>
<!--<node name="rviz" pkg="rviz" type="rviz" args="-d $(find patchwork)/rviz/patchwork_viz.rviz"/>-->
<node name="rviz" pkg="rviz" type="rviz" args="-d $(find patchwork)/rviz/patchwork_viz.rviz"/>

<rosparam command="load" file="$(find patchwork)/config/params.yaml" />
</launch>

0 comments on commit 6395d39

Please sign in to comment.