Buran Motion Planning Framework
|
3 #include "base/path_finder.h"
4 #include "continuous_path_finder.h"
5 #include "monotone_cubic_interpolation.h"
27 virtual void init(
const std::shared_ptr<bmpf::Scene> &scene,
double intervalDuration,
29 unsigned int maxOpenSetSize,
int gridSize,
unsigned int maxNodeCnt,
int checkCnt,
39 const std::vector<double> &startState,
const std::vector<double> &endState,
int &errorCode
91 const std::vector<double> &startState,
const std::vector<double> &endState,
92 std::vector<double> &timeIntervals,
int &errorCode
106 std::shared_ptr<bmpf::PathFinder>
_pf;
166 const std::shared_ptr<bmpf::PathFinder> &
getPF()
const {
return _pf; }
double _wholeDuration
Definition: monotone_trajectory_finder.h:130
double _startIntervalDuration
Definition: monotone_trajectory_finder.h:114
const std::vector< std::vector< double > > & getLastTrajectory() const
Definition: monotone_trajectory_finder.h:154
int getNodeCnt() const
Definition: monotone_trajectory_finder.h:160
std::vector< double > _timeIntervals
Definition: monotone_trajectory_finder.h:110
const std::shared_ptr< bmpf::Scene > & getScene() const
Definition: monotone_trajectory_finder.h:172
Definition: monotone_trajectory_finder.h:14
double getWholeDuration() const
Definition: monotone_trajectory_finder.h:142
const std::shared_ptr< bmpf::PathFinder > & getPF() const
Definition: monotone_trajectory_finder.h:166
bool isReady() const
Definition: monotone_trajectory_finder.h:178
std::vector< double > getTrajectoryAcceleration(double tm)
Definition: monotone_trajectory_finder.cpp:166
virtual ~MonotoneTrajectoryFinder()
Definition: monotone_trajectory_finder.h:45
std::vector< std::vector< double > > _lastTrajectory
Definition: monotone_trajectory_finder.h:118
int _nodeCnt
Definition: monotone_trajectory_finder.h:122
void _prepareTrajectory(const std::vector< double > &startState, const std::vector< double > &endState, std::vector< double > &timeIntervals, int &errorCode)
Definition: monotone_trajectory_finder.cpp:57
std::vector< std::vector< double > > _lastPath
Definition: monotone_trajectory_finder.h:102
virtual void prepareTrajectory(const std::vector< double > &startState, const std::vector< double > &endState, int &errorCode)
Definition: monotone_trajectory_finder.cpp:33
const std::vector< std::vector< double > > & getLastPath() const
Definition: monotone_trajectory_finder.h:148
bool _isReady
Definition: monotone_trajectory_finder.h:134
std::vector< std::shared_ptr< MonotoneCubicInterpolation > > _interpolators
Definition: monotone_trajectory_finder.h:98
std::shared_ptr< bmpf::PathFinder > _pf
Definition: monotone_trajectory_finder.h:106
virtual void init(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: monotone_trajectory_finder.cpp:17
std::vector< double > getTrajectorySpeed(double tm)
Definition: monotone_trajectory_finder.cpp:147
std::vector< double > getTrajectoryPosition(double tm)
Definition: monotone_trajectory_finder.cpp:128
std::vector< double > getTrajectoryNode(double tm)
получить все ноды траекторий получить все ноды траекторий (первая координата время,...
Definition: monotone_trajectory_finder.cpp:98
std::shared_ptr< bmpf::Scene > _scene
Definition: monotone_trajectory_finder.h:126