File tree 1 file changed +8
-8
lines changed
map/map_loader/src/lanelet2_map_loader
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -200,14 +200,14 @@ Lanelet2DifferentialLoaderModule::getLaneletMapMetaDataMsg(
200
200
201
201
autoware_map_msgs::msg::LaneletMapMetaData metadata;
202
202
for (const auto & file : lanelet2_file_metadata_dict_) {
203
- autoware_map_msgs::msg::LaneletMapTileMetaData tile_msg ;
204
- tile_msg .cell_id = file.second .id ;
205
- tile_msg .min_x = file.second .min_x ;
206
- tile_msg .min_y = file.second .min_y ;
207
- tile_msg .max_x = file.second .min_x + x_res;
208
- tile_msg .max_y = file.second .min_y + y_res;
209
-
210
- metadata.metadata_list .push_back (tile_msg );
203
+ autoware_map_msgs::msg::LaneletMapCellMetaData cell_msg ;
204
+ cell_msg .cell_id = file.second .id ;
205
+ cell_msg .min_x = file.second .min_x ;
206
+ cell_msg .min_y = file.second .min_y ;
207
+ cell_msg .max_x = file.second .min_x + x_res;
208
+ cell_msg .max_y = file.second .min_y + y_res;
209
+
210
+ metadata.metadata_list .push_back (cell_msg );
211
211
}
212
212
metadata.header .frame_id = " map" ;
213
213
metadata.header .stamp = clock_->now ();
You can’t perform that action at this time.
0 commit comments