37 #include "ompl/base/ValidStateSampler.h"
38 #include "ompl/tools/config/MagicConstants.h"
39 #include <boost/bind.hpp>
42 si_(si), attempts_(magic::MAX_VALID_SAMPLE_ATTEMPTS), name_(
"not set")
49 ompl::base::ValidStateSampler::~ValidStateSampler(
void)
unsigned int getNrAttempts(void) const
Get the number of attempts to be performed by the sampling routine.
void declareParam(const std::string &name, const typename SpecificParam< T >::SetterFn &setter, const typename SpecificParam< T >::GetterFn &getter=typename SpecificParam< T >::GetterFn())
This function declares a parameter name, and specifies the setter and getter functions.
ParamSet params_
The parameters for this instance of the valid state sampler.
ValidStateSampler(const SpaceInformation *si)
Constructor.
void setNrAttempts(unsigned int attempts)
Finding a valid sample usually requires performing multiple attempts. This call allows setting the nu...