first commit

This commit is contained in:
2025-10-28 14:44:05 +07:00
parent 5d4d1943fe
commit 5d8981eab6
30 changed files with 792 additions and 218 deletions

View File

@@ -306,7 +306,7 @@ void Costmap2D::updateOrigin(double new_origin_x, double new_origin_y)
* Đặt giá trị cost cho vùng đa giác lồi
* (ví dụ: để đánh dấu vùng cấm hoặc vùng obstacle)
*****************************************************/
bool Costmap2D::setConvexPolygonCost(const std::vector<Point>& polygon, unsigned char cost_value)
bool Costmap2D::setConvexPolygonCost(const std::vector<geometry_msgs::Point>& polygon, unsigned char cost_value)
{
std::vector<MapLocation> map_polygon;
for (unsigned int i = 0; i < polygon.size(); ++i)