1723_23102025

This commit is contained in:
duongtd 2025-10-23 17:23:41 +07:00
parent ad906963f7
commit 6d86ad65a2

View File

@ -62,5 +62,10 @@ namespace costmap_2d
return false;
}
void Costmap2D::worldToMapNoBounds(double wx, double wy, int& mx, int& my) const
{
mx = (int)((wx - origin_x_) / resolution_);
my = (int)((wy - origin_y_) / resolution_);
}
}