se2ez
sampler.h
Go to the documentation of this file.
1 /* Author: Zachary Kingston */
2 
3 #ifndef SE2EZ_PLAN_SAMPLER_
4 #define SE2EZ_PLAN_SAMPLER_
5 
6 #include <ompl/base/spaces/RealVectorStateSpace.h>
7 
9 
10 namespace se2ez
11 {
12 
13  namespace plan
14  {
15  /** \cond IGNORE */
16  SE2EZ_CLASS_FORWARD(StateSpace)
17  /** \endcond */
18 
19  /** \cond IGNORE */
20  SE2EZ_CLASS_FORWARD(StateSampler)
21  /** \endcond */
22 
23  class StateSampler : public ompl::base::RealVectorStateSampler
24  {
25  public:
26  StateSampler(const StateSpace *space);
27  void sampleUniform(ompl::base::State *state) override;
28  void sampleUniformNear(ompl::base::State *state, const ompl::base::State *near,
29  double distance) override;
30  void sampleGaussian(ompl::base::State *state, const ompl::base::State *mean,
31  double stdDev) override;
32  };
33  } // namespace plan
34 } // namespace se2ez
35 
36 #endif
Definition: goals.h:10
Main namespace.
Definition: collision.h:11
#define SE2EZ_CLASS_FORWARD(C)
Definition: class_forward.h:9