35 #ifndef NAV_GRID_NAV_GRID_INFO_H 36 #define NAV_GRID_NAV_GRID_INFO_H 79 return std::to_string(width) +
"x" + std::to_string(height) +
" (" + std::to_string(resolution) +
"res) " +
80 frame_id +
" " + std::to_string(origin_x) +
" " + std::to_string(origin_y);
92 #endif // NAV_GRID_NAV_GRID_INFO_H bool operator!=(const NavGridInfo &info) const
std::string toString() const
String representation of this object.
double origin_x
The origin defines the coordinates of minimum corner of cell (0,0) in the grid.
bool operator==(const NavGridInfo &info) const
comparison operator that requires all fields are equal
std::ostream & operator<<(std::ostream &stream, const GenericIndex< NumericType > &index)