Update msg_conversion.cc (#925)
parent
0beb972763
commit
bfe0d01b71
|
@ -375,7 +375,6 @@ std::unique_ptr<nav_msgs::OccupancyGrid> CreateOccupancyGridMsg(
|
||||||
const int width = cairo_image_surface_get_width(painted_slices.surface.get());
|
const int width = cairo_image_surface_get_width(painted_slices.surface.get());
|
||||||
const int height =
|
const int height =
|
||||||
cairo_image_surface_get_height(painted_slices.surface.get());
|
cairo_image_surface_get_height(painted_slices.surface.get());
|
||||||
const ros::Time now = ros::Time::now();
|
|
||||||
|
|
||||||
occupancy_grid->header.stamp = time;
|
occupancy_grid->header.stamp = time;
|
||||||
occupancy_grid->header.frame_id = frame_id;
|
occupancy_grid->header.frame_id = frame_id;
|
||||||
|
|
Loading…
Reference in New Issue