add file nav_msgs

This commit is contained in:
2025-11-13 16:51:49 +07:00
parent d06cb812ee
commit 4c8e350dac
7 changed files with 93 additions and 47 deletions

View File

@@ -0,0 +1,28 @@
// #an array of cells in a 2D grid
// Header header
// float32 cell_width
// float32 cell_height
// geometry_msgs/Point[] cells
#ifndef GRID_CELLS_H
#define GRID_CELLS_H
#include <cstdint>
#include <string>
#include <vector>
#include "std_msgs/Header.h"
#include "geometry_msgs/Point.h"
namespace nav_msgs
{
struct GridCells
{
std_msgs::Header header;
float cell_width;
float cell_height;
std::vector<geometry_msgs::Point> cells;
};
}
#endif //GRID_CELLS_H