File tree 1 file changed +1
-3
lines changed
perception/autoware_compare_map_segmentation/src/compare_elevation_map_filter
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,7 @@ void CompareElevationMapFilterComponent::filter(
72
72
{
73
73
pcl::PointCloud<pcl::PointXYZ>::Ptr pcl_input (new pcl::PointCloud<pcl::PointXYZ>);
74
74
pcl::PointCloud<pcl::PointXYZ>::Ptr pcl_output (new pcl::PointCloud<pcl::PointXYZ>);
75
- std::string output_frame = map_frame_;
76
75
77
- output_frame = elevation_map_.getFrameId ();
78
76
elevation_map_.setTimestamp (input->header .stamp .nanosec );
79
77
pcl::fromROSMsg (*input, *pcl_input);
80
78
pcl_output->points .reserve (pcl_input->points .size ());
@@ -92,7 +90,7 @@ void CompareElevationMapFilterComponent::filter(
92
90
93
91
pcl::toROSMsg (*pcl_output, output);
94
92
output.header .stamp = input->header .stamp ;
95
- output.header .frame_id = output_frame ;
93
+ output.header .frame_id = elevation_map_. getFrameId () ;
96
94
}
97
95
} // namespace autoware::compare_map_segmentation
98
96
You can’t perform that action at this time.
0 commit comments