Buran Motion Planning Framework
|
3 #include "base_server.h"
30 void processCommand(
int clientSocket,
int command, Json::Value jsonData)
override;
41 std::vector<double> start, std::vector<double> end);
54 virtual std::shared_ptr<bmpf::PathFinder>
createPathFinder(
int clientSocket) = 0;
60 std::unordered_map<int, std::vector<std::vector<double>>>
paths;
68 std::unordered_map<int, std::shared_ptr<bmpf::PathFinder>>
pfs;
Базовый класс для всех серверов Для реализации сервера, необходимо переопределить две чисто виртуальн...
Definition: base_server.h:26
static const int COMMAND_START_FIND_PATH
Definition: path_finding_server.h:18
Базовый класс для всех серверов планирования для использования необходимо переопределить в потомке cr...
Definition: path_finding_server.h:9
static void startFindPath(PathFindingServer *pfs, std::shared_ptr< bmpf::PathFinder > pf, int clientSocket, std::vector< double > start, std::vector< double > end)
Definition: path_finding_server.cpp:11
static const int COMMAND_FIND_PATH_RESULT
Definition: path_finding_server.h:22
static const int COMMAND_IS_READY
Definition: path_finding_server.h:14
std::unordered_map< int, bool > pathFindingReady
Definition: path_finding_server.h:64
void processCommand(int clientSocket, int command, Json::Value jsonData) override
Definition: path_finding_server.cpp:54
void onSocketConnected(int clientSocket) override
Definition: path_finding_server.cpp:33
std::unordered_map< int, std::vector< std::vector< double > > > paths
Definition: path_finding_server.h:60
std::unordered_map< int, std::shared_ptr< bmpf::PathFinder > > pfs
Definition: path_finding_server.h:68
virtual std::shared_ptr< bmpf::PathFinder > createPathFinder(int clientSocket)=0