1 Star 0 Fork 1

陈狗翔 / PRM-RS-path-planning

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
map_pgm.h 445 Bytes
Copy Edit Web IDE Raw Blame History
陈狗翔 authored 2018-01-24 21:54 . PRM RS path planning
#ifndef MAP_PGM_H_H
#define MAP_PGM_H_H
#include <iostream>
#include <opencv2/opencv.hpp>
class Pgm_map
{
public:
int ** getGridMap2D();
Pgm_map(const char * filename);
bool transformMapToGrid();
const int getSizeX();
const int getSizeY();
cv::Mat getImg();
~Pgm_map();
private:
bool isopen;
cv::Mat basemap;
int ** gridmap2D;
int sizeX;
int sizeY;
const Pgm_map & operator=(const Pgm_map &); //must exist but not use
};
#endif

Comment ( 0 )

Sign in for post a comment

C++
1
https://gitee.com/ChenGouXiang/PRM-RS-path-planning.git
git@gitee.com:ChenGouXiang/PRM-RS-path-planning.git
ChenGouXiang
PRM-RS-path-planning
PRM-RS-path-planning
master

Search