Function utils::cellToPoint(int, int, nav_msgs::msg::MapMetaData, std_msgs::msg::Header)

Function Documentation

geometry_msgs::msg::PointStamped utils::cellToPoint(int cell_x, int cell_y, nav_msgs::msg::MapMetaData map_info, std_msgs::msg::Header map_header)

Convert a cell to a point in the map frame.

Parameters:
  • cell_x – cell x

  • cell_y – cell y

  • map_info – occupancy grid metadata

  • map_header – occupancy grid header