Buran Motion Planning Framework
|
4 #include "base/path_finder.h"
5 #include "base/node_grid_path_finder.h"
6 #include "one_direction_sync_path_finder.h"
7 #include "one_direction_ordered_path_finder.h"
38 const std::shared_ptr<bmpf::Scene> &scene,
bool showTrace,
39 unsigned int maxOpenSetSize,
int gridSize,
unsigned int maxNodeCnt,
int threadCnt = 1
59 void paint(
const std::vector<double> &state,
bool onlyRobot)
override;
66 bool findTick(std::vector<double> &state)
override;
73 void prepare(
const std::vector<double> &startState,
const std::vector<double> &endState)
override;
91 std::vector<std::vector<double>>
checkTask(
92 const std::vector<double> &startState,
const std::vector<double> &endState,
unsigned int _maxOpenSetSize
Definition: multirobot_path_finder.h:109
std::vector< double > _prevState
Definition: multirobot_path_finder.h:122
unsigned int _maxNodeCnt
Definition: multirobot_path_finder.h:105
MultiRobotPathFinder(const std::shared_ptr< bmpf::Scene > &scene, bool showTrace, unsigned int maxOpenSetSize, int gridSize, unsigned int maxNodeCnt, int threadCnt=1)
Definition: multirobot_path_finder.h:37
void paint(const std::vector< double > &state, bool onlyRobot) override
Definition: multirobot_path_finder.cpp:8
bool findTick(std::vector< double > &state) override
Definition: multirobot_path_finder.cpp:19
void prepare(const std::vector< double > &startState, const std::vector< double > &endState) override
Definition: multirobot_path_finder.cpp:49
int _gridSize
Definition: multirobot_path_finder.h:113
std::shared_ptr< bmpf::NodeGridPathFinder > _scaleWholeScenePathFinder
Definition: multirobot_path_finder.h:134
std::vector< std::shared_ptr< bmpf::NodeGridPathFinder > > _singleRobotPathFinders
Definition: multirobot_path_finder.h:101
virtual ~MultiRobotPathFinder()
Definition: multirobot_path_finder.h:49
bool _ready
Definition: path_finder.h:253
std::shared_ptr< bmpf::NodeGridPathFinder > _wholeScenePathFinder
Definition: multirobot_path_finder.h:130
int _scaleGridSize
Definition: multirobot_path_finder.h:118
PathFinder(const std::shared_ptr< bmpf::Scene > &scene, bool showTrace, int threadCnt=1)
Definition: path_finder.cpp:12
std::vector< std::vector< double > > checkTask(const std::vector< double > &startState, const std::vector< double > &endState, double opacity)
проверка задания проверка задания, возвращает пустой вектор, если маршрут можно строить штатным образ...
Definition: multirobot_path_finder.cpp:103
Базовый класс для всех планировщиков
Definition: path_finder.h:28
std::unordered_set< int > _pfsNotReadyIndexes
Definition: multirobot_path_finder.h:126
Definition: multirobot_path_finder.h:25
void buildPath() override
Definition: multirobot_path_finder.cpp:123