Buran Motion Planning Framework
|
3 #include "base_server.h"
4 #include "monotone_trajectory_finder.h"
39 void processCommand(
int clientSocket,
int command, Json::Value jsonData)
override;
51 int clientSocket, std::vector<double> start, std::vector<double> end);
71 unsigned int maxOpenSetSize,
int gridSize,
unsigned int maxNodeCnt,
int checkCnt,
91 std::unordered_map<int, std::shared_ptr<bmpf::MonotoneTrajectoryFinder>>
tfs;
Базовый класс для всех серверов Для реализации сервера, необходимо переопределить две чисто виртуальн...
Definition: base_server.h:26
int _threadCnt
Definition: trajectory_finding_server.h:123
std::unordered_map< int, bool > trajectoryFindingReady
Definition: trajectory_finding_server.h:87
std::shared_ptr< bmpf::Scene > _scene
Definition: trajectory_finding_server.h:95
int _gridSize
Definition: trajectory_finding_server.h:111
static const int COMMAND_GET_POSITIONS
Definition: trajectory_finding_server.h:23
static const int COMMAND_START_FIND_TRAJECTORY
Definition: trajectory_finding_server.h:19
TrajectoryFindingServer(const std::shared_ptr< bmpf::Scene > &scene, double intervalDuration, bool showTrace, unsigned int maxOpenSetSize, int gridSize, unsigned int maxNodeCnt, int checkCnt, int threadCnt=1)
Definition: trajectory_finding_server.h:70
static const int COMMAND_IS_READY
Definition: trajectory_finding_server.h:15
static const int COMMAND_GET_SPEED
Definition: trajectory_finding_server.h:27
bool _showTrace
Definition: trajectory_finding_server.h:103
void processCommand(int clientSocket, int command, Json::Value jsonData) override
Definition: trajectory_finding_server.cpp:53
unsigned int _maxNodeCnt
Definition: trajectory_finding_server.h:115
static void startFindTrajectory(TrajectoryFindingServer *tps, std::shared_ptr< bmpf::MonotoneTrajectoryFinder > tf, int clientSocket, std::vector< double > start, std::vector< double > end)
Definition: trajectory_finding_server.cpp:11
unsigned int _maxOpenSetSize
Definition: trajectory_finding_server.h:107
double _intervalDuration
Definition: trajectory_finding_server.h:99
std::unordered_map< int, std::shared_ptr< bmpf::MonotoneTrajectoryFinder > > tfs
Definition: trajectory_finding_server.h:91
static const int COMMAND_GET_ACCELERATIONS
Definition: trajectory_finding_server.h:31
int _checkCnt
Definition: trajectory_finding_server.h:119
void onSocketConnected(int clientSocket) override
Definition: trajectory_finding_server.cpp:29
Definition: trajectory_finding_server.h:9